This commit is contained in:
6
2nd/Evaluations/DS_2023-01-18/scripts/indice_imc.py
Normal file
6
2nd/Evaluations/DS_2023-01-18/scripts/indice_imc.py
Normal file
@@ -0,0 +1,6 @@
|
||||
taille = int(input("Quelle est votre taille (en m)?"))
|
||||
taille = int(input("Quelle est votre masse (en kg)?"))
|
||||
|
||||
imc = .....
|
||||
|
||||
print("Votre indice IMC est de ", imc)
|
@@ -0,0 +1,8 @@
|
||||
imc = float(input("Quel est votre indice IMC?"))
|
||||
|
||||
if ..... :
|
||||
print("Insuffisance")
|
||||
...........
|
||||
print("Normale")
|
||||
...........
|
||||
print("Surpoids")
|
Reference in New Issue
Block a user