Samuel Vermeulen 4 weeks ago
parent
commit
d6db1ef292
  1. 8
      inscription_etudiants.py

8
inscription_etudiants.py

@ -0,0 +1,8 @@
nomEtudiant = input()
if nomEtudiant[0] >= "A" and nomEtudiant[0] <= "F":
print(1)
if nomEtudiant[0] >= "G" and nomEtudiant[0] <= "P":
print(2)
if nomEtudiant[0] >= "Q" and nomEtudiant[0] <= "Z":
print(3)
Loading…
Cancel
Save