← Problem book: Python Lesson 37 of 96 · 10 XP

Multiplication table

Theory and problem statement

Machine translation, not yet reviewed by a native speaker.

You are given a number n. Print the multiplication table for n from 1 to 10 — one line per product, in the format n * i = result.

Example

Input:

7

Output:

7 * 1 = 7
7 * 2 = 14
7 * 3 = 21
7 * 4 = 28
7 * 5 = 35
7 * 6 = 42
7 * 7 = 49
7 * 8 = 56
7 * 9 = 63
7 * 10 = 70

Sign up for free to solve this task right in your browser: code editor, running, test checks and hints.