Added some python projects

This commit is contained in:
plane000
2018-05-04 17:53:55 +01:00
parent 5c0772fea7
commit 452be24a19
8 changed files with 71 additions and 0 deletions

17
Python/Countup.py Normal file
View File

@@ -0,0 +1,17 @@
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