erreur débile true VS True
This commit is contained in:
parent
198d68ba5d
commit
069668e084
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ class filmSQ():
|
|||
while not ok:
|
||||
try:
|
||||
res = eval(input("durée du film (en minutes) "))
|
||||
ok = true
|
||||
ok = True
|
||||
except (NameError, SyntaxError):
|
||||
print("le format n'est pas correct. Ne rentrez que des chiffres svp")
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue