Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Multiply_table

JOHNYTHEWINNER Mar 23rd, 2020 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. number=int(input())
  2. first_number=number%10
  3. number//=10
  4. second_number=number%10
  5. third_number=number//10
  6. for first in  range(1,first_number+1):
  7.     for second in  range(1,second_number+1):
  8.         for third in  range(1,third_number+1):
  9.             print(f"{first} * {second} * {third} ={first*second*third}")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top