Guest User

Untitled

a guest
Jan 21st, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. n = int(input("Enter a number: "))
  2. a = [i for i in range(1,n+1) if n%i==0]
  3. print("The list of Divisors of {} is {}".format(n,a))
Add Comment
Please, Sign In to add comment