CodeLab Academy 📞 9936 6696
← List Python · Level 4: For loops Code · 40 points ← #342 #344 →

#343. Multiplication table (1-10)

You get an integer n. Print the multiplication table of n from 1 to 10 in the form `n x i = result`. ### Input One integer n (1 ≤ n ≤ 20). ### Output 10 lines.

Examples

Input
1
Output
1 x 1 = 1
1 x 2 = 2
1 x 3 = 3
1 x 4 = 4
1 x 5 = 5
1 x 6 = 6
1 x 7 = 7
1 x 8 = 8
1 x 9 = 9
1 x 10 = 10
Input
12
Output
12 x 1 = 12
12 x 2 = 24
12 x 3 = 36
12 x 4 = 48
12 x 5 = 60
12 x 6 = 72
12 x 7 = 84
12 x 8 = 96
12 x 9 = 108
12 x 10 = 120

💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!