Dear ALL,
I am a beginner in python and I just copied the code in blue below and execute
and had the result in green. Then I thought letter should be a special word in
python. Then I now replace letter whith chic and yet the same results is
obtained. I cannot reconcile them. Can someone explained to me please?
>>> for letter in "python":
print "Current letter:", letter
Current letter: p
Current letter: y
Current letter: t
Current letter: h
Current letter: o
Current letter: n
>>> for chic in "python":
print "chic:", chic
chic: p
chic: y
chic: t
chic: h
chic: o
chic: n
Regards,
Henry
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor