Advertisement
Spocoman

Multiply Table

Feb 25th, 2022
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. number = input()
  2.  
  3. for i in range(1, ord(number[2]) - 47):
  4.     for j in range(1, ord(number[1]) - 47):
  5.         for k in range(1, ord(number[0]) - 47):
  6.             print(f"{i} * {j} * {k} = {i * j * k};")
  7.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement