On 24/10/12 17:59, Saad Javed wrote:
Thanks!

If not matched: <---- does it mean that "if the value of matched is not
true, print Not found"?

Yes exactly. matched starts off as False and will remain that way until a match is found at which point we set it to True.


--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to