Question: in python what is the main difference between a function and a method?
Answer: A method commonly refers to a function that's a property of a class (either a static or instance method), while a function is the more general term for a procedure that takes arguments and returns a value after being called. Methods are functions.