Write a Python Program to Display the multiplication Table.

Write a Python Program to Display the multiplication Table.

Program
def myfun():
    num=int(input("Display multiplication table of: "))
    for i in range(1,11,1):
            print(f"{num} * {i} ={num*i}")
              
if __name__=="__main__":
    myfun()


Output:

Display multiplication table of: 14
14 * 1 =14
14 * 2 =28
14 * 3 =42
14 * 4 =56
14 * 5 =70
14 * 6 =84
14 * 7 =98
14 * 8 =112
14 * 9 =126
14 * 10 =140



More Questions


68 . Write a Python Program to Find the Factorial of a Number.
69 . Write a Python Program to Display the multiplication Table.
70 . Write a Python Program to Print the Fibonacci sequence.
71 . Write a Python Program to Check Armstrong Number?
72 . Write a Python Program to Find Armstrong Number in an Interval.
73 . Write a Python Program to Find the Sum of Natural Numbers.
74 . Write a Python Program to Find LCM.
75 . Write a Python Program to Find HCF.
76 . Write a Python Program to Convert Decimal to Binary, Octal and Hexadecimal.
77 . Write a Python Program To Find ASCII value of a character.
78 . Write a Python Program to Make a Simple Calculator with 4 basic mathematical operations.



For latest job updates join Telegram Channel: https://t.me/sateeshm