Sure! Here is a simple program in Python to display the multiplication table from 1 to 10:
When you run this program, it will output the multiplication table from 1 to 10 in the following format:
You can adjust the range in the loops to display a different range for the multiplication table.
Sure! Here is a simple program in Python to display the multiplication table from 1 to 10:
for i in range(1, 11):for j in range(1, 11):
print(f"{i} * {j} = {i*j}")
When you run this program, it will output the multiplication table from 1 to 10 in the following format:
1 * 1 = 11 * 2 = 2
1 * 3 = 3
...
10 * 8 = 80
10 * 9 = 90
10 * 10 = 100
You can adjust the range in the loops to display a different range for the multiplication table.