8 lines
171 B
Python
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'))
|