Advertisement
MeKLiN2

Untitled

Jan 4th, 2022
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. def eight_ball():
  2. """ Magic eight ball.
  3.  
  4. :return: A random answer.
  5. :rtype: str
  6. """
  7. answers = [
  8. 'It is certain', 'It is decidedly so', 'without a doubt', 'Yes definitely',
  9. 'You may rely on it', 'As I see it, yes', 'Most likely', 'Outlook good',
  10. 'Yes', 'Signs point to yes', 'Reply hazy try again', 'Ask again later',
  11. 'Better not tell you now', 'Cannot predict now', 'Concentrate and ask again',
  12. 'Don\'t count on it', 'My reply is no', 'My sources say no', 'Outlook not so good',
  13. 'Very doubtful'
  14. ]
  15. return random.choice(answers)
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement