methods and modules | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

methods and modules

I know it seems a little ridiculous but I'm a bit confused what's the difference between methods and modules ?

16th Apr 2020, 11:25 AM
Amir Yeganeh
Amir Yeganeh - avatar
1 Réponse
+ 3
A method is a function which will (usually) take some arguments as input and will so something with them, and give an output. A module is a library which will contain lots of methods.
16th Apr 2020, 11:33 AM
Russ
Russ - avatar