PDA

View Full Version : [SOLVED] [Python] Methods vs. Functions



dodle
September 19th, 2008, 06:25 AM
I read somewhere in the forum that a method in a class is the same as a function. Is this true? If it is, it clears up a lot for me. I've been practicing with functions, and just starting to get into classes. Phew!

LaRoza
September 19th, 2008, 06:29 AM
I read somewhere in the forum that a method in a class is the same as a function. Is this true? If it is, it clears up a lot for me. I've been practicing with functions, and just starting to get into classes. Phew!

That is right. Functions in a class are called methods.