What is the difference between a class and a module? | Sololearn: Learn to code for FREE!
+ 1

What is the difference between a class and a module?

I'm either making a class or a module called D.U.C.K (guess what game it's from) and I can't decide which I should do or if they are the same.

2nd Nov 2019, 3:14 AM
Swordmaster
Swordmaster - avatar
2 Antworten
+ 3
Modules can be imported I'm guessing.
2nd Nov 2019, 5:00 AM
Inkosi
Inkosi - avatar
0
Ok, I have the answer now, so now you have to guess what game the D.U.C.K is from!
2nd Nov 2019, 5:31 AM
Swordmaster
Swordmaster - avatar