HedegaardТекстом табуляции не видно, а на фотке они есть
x= int(input("Введите число "))
nums=0
allnums=0
if x!=0 and x<=30000 and x>=-30000:
allnums =allnums+1
if x%2!=0 and x%3==0:
nums = nums+1
while x!=0 and allnums<1000:
x= int(input("Введите число "))
if x!=0 and x<=30000 and x>=-30000:
allnums = allnums+1
if x%2!=0 and x%3==0:
nums = nums+1
print(allnums)
print(nums)
input()
Lauren Davis