playpythonpy
Python for Kids
Tuesday, 12 January 2016
24 My Tables III (ad infinitum)
#Multiplication tables
#With input
#Non stop
a = int(input("Enter a number: "))
b = a
a = 0
while a > -1:
a = a + int(b)
print (a)
Newer Post
Older Post
Home