Wizards don't chant the whole spell every time. They give it a short name like "Fireball!"
In coding, we group code into Functions so we can use it again and again.
We use the keyword def (define) to make a spell.
Just write its name with parentheses!
say_hello()
Define a function called cheer that prints "Go Team!". Don't call it yet!
def cheer():
print("Go Team!")
Now call the function cheer() to see the message.
cheer()
Make a NEW function greet(name) that takes a name. Call it with your name.
def greet(name):
print("Hello " + name)
greet("Cody")
1. Which word starts a function definition?