Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- number = input()
- num1 = number[2]
- num2 = number[1]
- num3 = number[0]
- for num1 in range(1, int(num1) + 1):
- for num2 in range(1, int(num2) + 1):
- for num3 in range(1, int(num3) + 1):
- print(f'{num1} * {num2} * {num3} = {num1 * num2 * num3};')
- # number = input()
- #
- # for i in range(1, ord(number[2]) - 47):
- # for j in range(1, ord(number[1]) - 47):
- # for k in range(1, ord(number[0]) - 47):
- # print(f"{i} * {j} * {k} = {i * j * k};")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement