Write a python program to print multiplication table of a given number on April 23, 2025 Get link Facebook X Pinterest Email Other Apps # Taking input from the usernum = int(input("Enter a number to print its multiplication table: "))# Printing the multiplication table from 1 to 10print(f"\nMultiplication table of {num}:")for i in range(1, 11): print(f"{num} x {i} = {num * i}")Output: Comments
Comments
Post a Comment