counter = 0 # Счётчик
while counter <= 10:
input_number = int(input('Enter the number: ')) #requests.get()
try:
result = 1/input_number
counter += 1
except:
print('Wrong number, try again!')
counter += 1
else:
print('End!') #system.exit(1)