Skip to content

Instantly share code, notes, and snippets.

@WinXaito
Created August 30, 2015 19:41
Show Gist options
  • Save WinXaito/5ff313fb01a443274a7b to your computer and use it in GitHub Desktop.
Save WinXaito/5ff313fb01a443274a7b to your computer and use it in GitHub Desktop.
Problème module hrt (#zestedesavoir)
##---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