Computer Science, asked by palakrajput2409, 7 months ago

write a program that accept the number and print its table by using loop in python ​

Answers

Answered by shivakumarjagadish12
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 anindyaadhikari13
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