Do Now: 3.02
Open up the terminal. Type the following code.
def my_function():
print("THIS IS MY FUNCTION!")
What does my_function
do?
How would you call the function? Practice calling my_function
and checking that it does what you expect it to.
How would you add arguments to my_function
?