cours_progra/bac1/q1/renforcement/entrainement_0311/ex3.py
Debucquoy 4fd7542f03
.
2023-09-20 15:18:20 +02:00

8 lines
171 B
Python

def check_ticket(ticket):
while(:)
tosumuup = [int(i)for i in list(ticket)]
return sum(tosumuup)
if __name__ == "__main__":
print(check_ticket('999999'))