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


      
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to