Print out a neatly formatted multiplication table, up to 10 x 10 8.Write a function that will return the number of digits in an given integer Example : 3566 No.of digit : 4
Example: print multiplication table python
# Multiplication table (from 1 to 10) in Python
num = 12
# To take input from the user
# num = int(input("Display multiplication table of? "))
# Iterate 10 times from i = 1 to 10 By AyushG
for i in range(1, 11):
print(num, 'x', i, '=', num*i)