SHARE
TWEET

Untitled

a guest Dec 12th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. n = int(input())
  2.  
  3. for i in range(1, 10):
  4.     for j in range(1, 10):
  5.         for k in range(1, 10):
  6.             for l in range(1, 10):
  7.                 if n % i == 0 and n % j == 0 and n % k == 0 and n % l == 0:
  8.                     print(f"{i}{j}{k}{l}", end=' ')
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top