Function vs. Method | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 2

Function vs. Method

What is the difference between a function and a method in Python 3?

1st Nov 2017, 7:42 PM
Michelle Walton
Michelle Walton - avatar
1 Antwort
+ 27
Methods are functions that belong to an object/class.
1st Nov 2017, 7:51 PM
Valen.H. ~
Valen.H. ~ - avatar