Guest User

Untitled

a guest
Feb 16th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. user = int(input("enter a number from 50-200: "))
  2. i=2
  3. x=[]
  4. for c in range(2,201,1):
  5. if user%i==0:
  6. x.append(i)
  7. i+=1
  8.  
  9. print("divisors of the given number are : "+ str(x))
Add Comment
Please, Sign In to add comment