# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

# + [markdown] pycharm={"name": "#%% md\n"}
# # Day 5: Loops
#
# *Author: <NAME>*
#
# ## Objective
# In this challenge, we will use loops to do some math. Check out the Tutorial tab to learn more.
#
# ## Task
# Given an integer $n$, print its $10$ multiples. Each multiple $n /times i$ (where $i\leq i\leq10$) should be printed on a new line in the form: n x i = result.
#
# ## Example
#
# $n=3$
# The printout should look like this:
#
# ```
# 3 x 1 = 3
# 3 x 2 = 6
# 3 x 3 = 9
# 3 x 4 = 12
# 3 x 5 = 15
# 3 x 6 = 18
# 3 x 7 = 21
# 3 x 8 = 24
# 3 x 9 = 27
# 3 x 10 = 30
# ```
#
#

# + pycharm={"name": "#%%\n"}
# #!/bin/python3

import math
import os
import random
import re
import sys



if __name__ == '__main__':
    n = int(input().strip())
    for i in range(1,11):
        print(str(n) + " x " + str(i) + " = " + str(n*i))

StarcoderdataJupyterScriptsDedupFiltered