write a program that accept the number and print its table by using loop in python
Answers
Answered by
5
Answer:
Explanation:
num = int(input('enter a number: '))
for multiplier in range(1,11):
answer = multiplier*num
print(f'{num} x {multiplier} = {answer}')
hope it helped ya!
Answered by
4
Question:-
- Write a program that accept the number and print its table by using loop in python.
Program:-
n=int(input("Enter a number: "))
for i in range(1,11):
x=n*i
print(n, " x ",i, " = ", x)
Similar questions