Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while True:
- import random
- rnum = random.randint(1,999999)
- print (rnum)
- if rnum == 42:
- print("random number was 42!")
- break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement