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

#326. Multiplication table (1-9)

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

Examples

Input
10
Output
10 x 1 = 10
10 x 2 = 20
10 x 3 = 30
10 x 4 = 40
10 x 5 = 50
10 x 6 = 60
10 x 7 = 70
10 x 8 = 80
10 x 9 = 90
Input
5
Output
5 x 1 = 5
5 x 2 = 10
5 x 3 = 15
5 x 4 = 20
5 x 5 = 25
5 x 6 = 30
5 x 7 = 35
5 x 8 = 40
5 x 9 = 45

💡 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!