+ 1

Define Method and function .. and what's the difference between them

23rd Mar 2018, 12:42 PM
Ayad Saadi Ahmed
2 Réponses
+ 2
In Python all it's object, and method is a method of class from which the object follow. Function can work different class object.
23rd Mar 2018, 3:11 PM
Viacheslav Prykhodko
Viacheslav Prykhodko - avatar
+ 2
Function: A block of code that does stuff, that can optionally return a potentially useful value. Method: A function in a class.
25th Mar 2018, 3:09 AM
LunarCoffee
LunarCoffee - avatar
Aujourd'hui en vedette
.
1 Votes
What?
0 Votes
HTML
0 Votes
FRC Coding?
1 Votes
Quiz duel
0 Votes
AI
2 Votes
help
0 Votes
APIs
1 Votes
Create Agent
0 Votes