You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
217 B

3 months ago
  1. nomEtudiant = input()
  2. if nomEtudiant[0] >= "A" and nomEtudiant[0] <= "F":
  3. print(1)
  4. if nomEtudiant[0] >= "G" and nomEtudiant[0] <= "P":
  5. print(2)
  6. if nomEtudiant[0] >= "Q" and nomEtudiant[0] <= "Z":
  7. print(3)