The quiz where the difficulty automagically adapts to the player's Python knowledge
This is a question page. You can use this page to bookmark a question. Start a new quiz!
Question #32
Methods and functions are similar in nature. However, a method is called on an object, but not a function. A function cannot (or at least shouldn't) modify an object attribute. (data-flair.training/blogs/python-method-and-function)
What is the difference between a function and a method?
— The Python Quiz (@thepythonquiz) June 12, 2020
A method is called on an object, not a function.
A function is called on an object, not a method.
They are the same.#python #python3 #pythonprogramming #learnpython
Question difficulty: 🔵🔵🔵🔵🔵