+ 5

How to create our own module? Is it so hard..

21st Aug 2017, 5:29 PM
Kasimayan
Kasimayan - avatar
4 Antworten
+ 16
Check it out and thanks for the inspiration ;) https://code.sololearn.com/cLF0P3C3eZ52/?ref=app
21st Aug 2017, 10:45 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 9
mod.py def calculator(x,y): print("Sum: ", x+y) # In the same folder test.py from mod import calculator calculator(10,40) ---- OUTPUT ---- Sum: 50 # That is small example if you need a thorough explanation tell me☺
21st Aug 2017, 5:54 PM
Given
Given - avatar
+ 3
Did you get it Kasimayan?
23rd Aug 2017, 12:28 AM
Gilver!
Gilver! - avatar
+ 1
yeah i got it thank u frnds.. i think I need more practices
23rd Aug 2017, 2:02 AM
Kasimayan
Kasimayan - avatar