methods and modules | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
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 Antwort
+ 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