"mbikinyi brat" <mbikinyi_b...@yahoo.com> wrote
When you type a code in IDLE-Python, they appear in different colours.
For instance:
factorial in blue and return and else and result in red.
Any significance to these colours?
Yes, they indicate different syntactic features. You can change
them and see what they are for by looking at the configuration
screens, the Highlighting tab. There is a drop down list that will
show you what can be coloured.
This is a useful tool since it can show an unterminated string
(ie where you forgot the closing quote), or where you
accidentally use a keyword as a variable name etc
--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor