Computer Science, asked by SD15378, 2 months ago

Write a program in python b print a table on a table of a given number.​

Answers

Answered by Anonymous
79

Answer:

The cøde for this question is written in Python.

n=int(input("Enter a number: "))

print(f"Table of {n} is given as:")

for i in range(1,11):

   print(f"{n} x {i} = {n*i}")

Algorithm:

  • Accept the number, say n.
  • Iterate a loop in the range i = 1 to 10.
  • Display the value of n * i.
Attachments:
Answered by stuprajin6202
0

Answer:

hope it is helpful to you please mark me as brainlist

Attachments:
Similar questions