Difference between Function vs Method in Python | Code Leaks

preview_player
Показать описание

Function and method have been interchangeable terms that many uses to explain a functionality. Whereas some languages don’t have the term functions while some don’t have the difference between a function and a method.
Difference between function vs method in Python is treated differently and having distinct concepts. In this video, we will go through various examples that how function and method are different in python.

FOLLOW US

#MethodVsFunction #OOP #Python3 #Method #Function #guide #tutorial #codeleaks #difference #Python
Рекомендации по теме
Комментарии
Автор

How does the method know that the argument it received is 'name' instead of 'self'

daegon