This is the code and notes from my live Twitch programming and drawing classes.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

31 lines
435 B

### @export "1"
def do_nothing():
pass
### @export "2"
def do_something():
print("I did something!")
### @export "3"
def do_something():
print("I did something!")
# now we can call it by its name
do_something()
### @export "4"
def do_more_things(a, b):
print("A IS", a, "B IS", b)
do_more_things("hello", 1)
### @export "5"
def do_more_things(a, b):
a = "hello"
b = 1
print("A IS", a, "B IS", b)