Function vs. Method | Sololearn: Learn to code for FREE!
Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję
+ 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 Odpowiedź
+ 27
Methods are functions that belong to an object/class.
1st Nov 2017, 7:51 PM
Valen.H. ~
Valen.H. ~ - avatar