methods and modules | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответ
+ 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