Multiplication Table

Description:

Write a program to print multiplication table as shown in the test cases Test Case 1 Input (stdin) 2 5 Expected Output 1 * 2 = 2 2 * 2 = 4 3 * 2 = 6 4 * 2 = 8 5 * 2 = 10 Test Case 2 Input (stdin) 5 6 Expected Output 1 * 5 = 5 2 * 5 = 10 3 * 5 = 15 4 * 5 = 20 5 * 5 = 25 6 * 5 = 30

Program :

num = int(input())

n=int(input())

for i in range(1,n+1):

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