[Solved] Receiving integers from the user until they enter 0 [closed]


try:
    count = 0
    while True:
        user = int(input('Insert Number: '))
        count += user
        if user == 0:
            break
    print(count)
except ValueError:
    print('Please Insert Numbers Only!')

solved Receiving integers from the user until they enter 0 [closed]