Coot: Difference between revisions

Jump to navigation Jump to search
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

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu