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

Corrections #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 13 additions & 0 deletions medecinJHR.py
@@ -0,0 +1,13 @@
numeroPermis = []
for annee in range(1930, 2018):
anneeCourt = str(annee % 100).zfill(2) # Cool! Je ne connaissais pas la méthode zfill :)
for index in range(0, 1000):
indexFill = str(index).zfill(3)
numeroPermis.append(anneeCourt + indexFill)
# print(numeroPermis)

# Ça marche très bien!
# Pour afficher chaque numéro de permis sur une ligne, il aurait suffi de faire une boucle dans la liste que tu as créée.

for num in numeroPermis:
print(num)