raina9 commited on
Commit
a9bba43
·
verified ·
1 Parent(s): 1745ba2

switched random choices to magic 8 ball responses

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import random #enables access to random library on python
3
  # import lines go at the top! Any libraries I need to import go up here ^^
4
 
5
  def yes_or_no(message, history):
6
- return random.choice(['Yes', 'No'])
7
 
8
  # def echo(message, history):
9
  # return message
 
3
  # import lines go at the top! Any libraries I need to import go up here ^^
4
 
5
  def yes_or_no(message, history):
6
+ return random.choice(['It is certain', 'It is decidedly so', 'Without a doubt', 'Yes definitely', 'You may rely on it', 'As I see it, yes', 'Most likely', 'Outlook good', 'Yes', 'Signs point to yes', 'Reply hazy, try again', 'Ask again later', 'Better not tell you now', 'Cannot predict now', 'Concentrate and ask again', 'Don't count on it', 'My reply is no', 'My sources say no', 'Outlook not so good', 'Very doubtful'])
7
 
8
  # def echo(message, history):
9
  # return message