Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Martin Rémi #8

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion NOMS.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
Capucine Rahul
Alix Romain
Gaspard Ewan
Martin Rémi
SAMAIN Luc
SANCHEZ Lucas
SANCHEZ Lucas
30 changes: 30 additions & 0 deletions martin-remi/fonction.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@


def addition(x, y):
"""Retourne l'addition de x et y"""
return x+y


def soustraction(x, y):
"""Retourne la différence de x et y"""
#super cette soustraction

return x-y


def noms_binome():
"""
Affiche les noms des membres du binôme
Attention, chacun écrit la ligne pour afficher son nom
"""
print("Rémi")
print("Martin")


a = 2
b = 1

print(f"La somme de {a} et {b} vaut {addition(a, b)}")
print(f"La différence de {a} et {b} vaut {soustraction(a, b)}")

noms_binome()
1 change: 1 addition & 0 deletions martin-remi/helloworld.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print("Hello INSA")