function,method,module | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

function,method,module

what is the difference between function, method and a module

16th Sep 2019, 6:11 PM
Prajjawal Tiwari
Prajjawal Tiwari - avatar
1 Answer
+ 2
A method and a function are basicly the same thing apart from a method can only be defined inside of a class. I have never used modules but I know its somthing that's self contained and is part of somthing else that work together maby someone else can help you with that.
16th Sep 2019, 6:35 PM
D_Stark
D_Stark - avatar