Files
Examples/Python/Countup.py
2018-05-04 17:53:55 +01:00

18 lines
300 B
Python

int x = input("What number would you like to count to: ")
i = 0
while x <= i:
for x in range(0, 12):
x += 1
print(x)
if x % 10 == 0:
print("it is divisible by 10")
else:
print("it is not divisible by 10")
if x == input2:
break