Question #68

In the code below, what is foo called?
def func(foo):
    pass

It's a parameter! A parameter is a named entity in a function (or method) definition that specifies an argument (or in some cases, arguments) that the function can accept. (docs.python.org/3.8/glossary.html)


Comment on Disqus:

Question difficulty: ๐Ÿ”ต๐Ÿ”ต๐Ÿ”ต๐Ÿ”ต๐Ÿ”ต


Similar questions: