write a program in python b print a table on a table of a given number
Answers
Answered by
0
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.
Refer to the attachment for output.
•••♪
Attachments:
Similar questions
Business Studies,
25 days ago
Math,
25 days ago
Computer Science,
25 days ago
English,
1 month ago
Math,
8 months ago