.
This commit is contained in:
7
bac1/q1/renforcement/entrainement_0311/ex3.py
Normal file
7
bac1/q1/renforcement/entrainement_0311/ex3.py
Normal file
@ -0,0 +1,7 @@
|
||||
def check_ticket(ticket):
|
||||
while(:)
|
||||
tosumuup = [int(i)for i in list(ticket)]
|
||||
return sum(tosumuup)
|
||||
|
||||
if __name__ == "__main__":
|
||||
print(check_ticket('999999'))
|
Reference in New Issue
Block a user