table using while loop in python code example
Example: Print Table Using While Loop In Python
number = int(input("Enter A Number : "))
num = 1
while num <= 10:
total = num * number
print(total)
num = num +1
number = int(input("Enter A Number : "))
num = 1
while num <= 10:
total = num * number
print(total)
num = num +1