Created
August 30, 2015 19:41
-
-
Save WinXaito/5ff313fb01a443274a7b to your computer and use it in GitHub Desktop.
Problème module hrt (#zestedesavoir)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##---Main.py: | |
# -*-coding:Utf-8 -* | |
from my_module.module import * | |
print(additionner_a_et_b(1, 1)) #En paramètre, mettre les deux nombres à additionner. | |
##---my_module/module.py | |
# -*-coding:Utf-8 -* | |
def additionner_a_et_b(a, b): | |
aetb = a + b | |
return aetb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment