SHARE
TWEET

Untitled

a guest Feb 18th, 2020 110 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 m in range(1, 10):
  7.                 if n % i == 0 and n % j == 0 and n % k == 0 and n % m == 0:
  8.                     print(f"{i}{j}{k}{m}", 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
Top