Multiplication Table

Description:

Write a program to print the multiplication table for the given Number Input 1:Positive number Output: Multiplication table of the corresponding number Refer sample input and output for formatting specification. Test Case 1 Input (stdin) 7 Expected Output 7 * 1 = 7 7 * 2 = 14 7 * 3 = 21 7 * 4 = 28 7 * 5 = 35 7 * 6 = 42 Test Case 2 Input (stdin) 10 Expected Output 10 * 1 = 10 10 * 2 = 20 10 * 3 = 30 10 * 4 = 40 10 * 5 = 50 10 * 6 = 60 10 * 7 = 70 10 * 8 = 80 10 * 9 = 90

Program :

num = int(input())

for i in range(1,num):

    print(num,"*",i,"=",num*i)