Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def whilethis():
- t = input()
- f = 2
- p = True
- while t > f:
- result = t%f
- if result == 0:
- print f
- f = f+1
- p = False
- else:
- f = f+1
- if t == f:
- print "thats it."
- break
- if p == True:
- print "this is prime bro"
- break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement