up
This commit is contained in:
8
inscription_etudiants.py
Normal file
8
inscription_etudiants.py
Normal file
@@ -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)
|
||||
Reference in New Issue
Block a user