Coot: Difference between revisions

105 bytes added ,  13 February 2009
Line 241: Line 241:
# replace 'define' for functions with 'def' and for assignments with an '='
# replace 'define' for functions with 'def' and for assignments with an '='
# Make sure to use indentation for the function content [Python is indentation sensitive] and a ':' after the function definition.
# Make sure to use indentation for the function content [Python is indentation sensitive] and a ':' after the function definition.
Some additional/advanced(?) rules:
# #f -> False
# #t -> True
# (set! variable value) -> variable=value


====A simple example====
====A simple example====
28

edits