We use two files, both stored in the same directory.
Create a file named mymodule.py
. Save it in your cs100/ch1
folder.
# function definition
def myfunction():
print("this is a function from a module")
Create anothe rfile named notes5-functions.py
. Save