Welcome to the Treehouse Community
Looking to learn something new?
What does the def mean?
def is a function in the code challenge
Benjamin Barslev Nielsen18,958 Points
def is not a function. def is a keyword indicating that you want to define a function, i.e., the syntax for function declarations in Python are:
def functionname( parameters ):
This means that loopy is a function in the coding challenges, since it has this form:
I hope this makes sense.