Python program to Create Multiplication Table Using for Loop
for x in range(1,10):
for y in range(1,10):
print("%4d" % (x*y), end="")
print()
Output:
|
1 2 3 4 5 6 7 8 9 |
Output:
|
1 2 3 4 5 6 7 8 9 |