![](/user_photo/_userpic.png)
numbers = 1
i = -1
while(int(numbers) != 0):
if(int(numbers) >= 0):
numbers = input("Number: ")
i += 1
else:
print("Error!")
numbers = input("Number: ")
print("Count: ", i)
i = -1
while(int(numbers) != 0):
if(int(numbers) >= 0):
numbers = input("Number: ")
i += 1
else:
print("Error!")
numbers = input("Number: ")
print("Count: ", i)
Соседние файлы в папке Пр4