📅  最后修改于: 2022-03-11 14:56:21.839000             🧑  作者: Mango
A method, like a function, is a set of instructions that perform a task. The difference is that a method is associated with an object, while a function is not.