2020-12-27 03:33:28 +03:00
|
|
|
def thing(): # We can put a comment here, right?
|
|
|
|
print "This is a function that does a thing!"
|
|
|
|
print "Yay!"
|
|
|
|
return 123
|
2020-12-26 14:39:47 +03:00
|
|
|
|
2020-12-27 03:33:28 +03:00
|
|
|
print "This is other code."
|
|
|
|
print thing
|
|
|
|
let result = thing()
|
|
|
|
print result
|
2020-12-26 12:39:29 +03:00
|
|
|
|
2020-12-27 03:33:28 +03:00
|
|
|
result = sleep(1)
|
2020-12-26 14:39:47 +03:00
|
|
|
|
2020-12-27 03:33:28 +03:00
|
|
|
print "Did I sleep? " + result
|