logs. Out 0 for 21, 28 codes

This commit is contained in:
Cyrille L 2023-03-28 15:30:03 +02:00
parent 9404393975
commit db7c1687a7
1 changed files with 2 additions and 1 deletions

View File

@ -80,6 +80,7 @@ def out(nbr, value, out):
msg = logs[nbr] msg = logs[nbr]
print(msg) print(msg)
if int(nbr) == 21: nbr = 0 out_0 = (21, 28)
if int(nbr) in out_0: nbr = 0
if out: sys.exit(int(nbr)) if out: sys.exit(int(nbr))