Advertisement
mengyuxin

meng.magics8Ball.py

Dec 30th, 2017
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.37 KB | None | 0 0
  1. import random
  2.  
  3. messages = ['It is certain',
  4.             'It is decidedly so',
  5.             'Yes definitely',
  6.             'Reply hazy try again',
  7.             'Ask again later',
  8.             'Concentrate and ask again',
  9.             'My reply is no',
  10.             'Outlook not so good',
  11.             'Very doubtful']
  12.  
  13. print(messages[random.randint(0, len(messages) - 1)])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement