Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- N=int(input("n="))
- d=2
- while True:
- d=d+1
- if N%d==0: break
- print(d)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement