Program - function to print the multiplication table


Topic: Program - function to print the multiplication table

Solution

def maths_tables( no_ : int):
     for i in range(1, 11):
         print(f'{no_}x{i}={no_*i}')



List all Python Programs