What is difference between functions and modules? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

What is difference between functions and modules?

22nd Jan 2016, 8:01 PM
mil
mil - avatar
2 Answers
0
modules are packages used to pack some variables and functions in one place
22nd Jan 2016, 9:38 PM
Mustafa Gamal
Mustafa Gamal - avatar
0
A module is a file containing python definitions (i.e.functions ) and statements.
30th Sep 2016, 5:52 PM
cryptolock
cryptolock  - avatar