digital literacy for everyone
[lit][generate-title]
[lit]
[fig]
#### license: creative commons cc0 1.0 (public domain)
#### http://creativecommons.org/publicdomain/zero/1.0/
function funcname(param1, param2, etc):
# function has python scope
now=param2 ; print # semicolon is optional; so is equals
ifequal(param1, param2):
x = "p1 and p2 are equal" ; print
fig
fig
p=funcname(2 ,"hello", 5.7) # call funcname as sub
home: [lit]https://freesoftwareresistance.neocities.org[lit]