From 59cbdce8cb3ab98d5a17572dda2da4db872abf36 Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Sat, 12 Aug 2017 11:18:44 -0700 Subject: [PATCH] Removing the responses variable since im only using it once --- app/eight_ball.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/eight_ball.py b/app/eight_ball.py index ca489677..ed761092 100644 --- a/app/eight_ball.py +++ b/app/eight_ball.py @@ -41,7 +41,10 @@ def check_8ball(question): 'Reply hazy try again', ] - responses = positive_responses + negative_responses + noncommittal_responses - return random.choice(responses) + return random.choice( + positive_responses + + negative_responses + + noncommittal_responses + ) return help_methods.get_help_message('8ball') \ No newline at end of file