Advertisement
JcGNeon

pick.py

Jan 14th, 2014
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. import random
  2.  
  3. result = random.random()
  4.  
  5. if(result <= 0.33):
  6.     print 'outlook.com'
  7. elif((result >= 0.34) & (result <= 0.66)):
  8.     print 'hotmail.com'
  9. elif((result >= 0.67) & (result <= 1.00)):
  10.     print 'live.com'
  11. else:
  12.     print result
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement