[Tutor] colours in IDLE

mbikinyi brat mbikinyi_brat at yahoo.com
Wed Apr 15 11:29:54 CEST 2009


Dear ALL,
When you type a code in IDLE-Python, they appear in different colours.
For instance:
 def factorial(n):
 if n==0:
  return 1
 else:
  recurse=factorial(n-1)
  result=n*recurse
  return result
factorial in blue and return and else and result in red.
Any significance to these colours?
 
Regards,
Henry


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090415/e85f0413/attachment.htm>


More information about the Tutor mailing list