Untitled

mail@pastecode.io avatar
unknown
python
2 years ago
691 B
2
Indexable
Never
# for my_number in range(1, 1000):
#     int_input = input('> ')
#
#     if int(int_input[3:]) == my_number:
#         print(f"progress [{int_input.upper()}]")
#
#     else:
#         while int_input != my_number:
#             test_input = input('> ')
#
#             if int(test_input[3:]) == my_number:
#                 print(f"progress [{test_input.upper()}]")
#                 break
# print("done")

for my_number in range(1, 1000):
    int_input = input('> ')

    while int(int_input[3:]) != my_number:
        break
    else:
        if int(int_input[3:]) == my_number:
            print(f"progress [{int_input.upper()}]")
            continue
print("done")