From 6b4b06217e03652a8d1575c7f3932317910f034b Mon Sep 17 00:00:00 2001 From: "Mazikeen El Bezra (elbezral)" Date: Sat, 10 Oct 2020 15:09:03 +0100 Subject: [PATCH] final version --- story.py | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/story.py b/story.py index bafafef..9b6d935 100644 --- a/story.py +++ b/story.py @@ -1,5 +1,3 @@ -#test 2 -#comment userinput = ("Please input a valid number to carry on:)") def casino_choice(): starting_choice = input("""On the dark, murky, humid night ~ he thought about what he could spend @@ -18,8 +16,6 @@ def casino_choice(): elif starting_choice == "2": he_made_his_way_home() - - else: print (userinput) print () @@ -185,7 +181,7 @@ b - Go back to previous choice\n\n""") elif cheating=="2": leave_angrily() elif cheating=="b": - + the_program() else: print (userinput) print () @@ -203,8 +199,8 @@ b - Go back to previous choice""") ignore_it() elif make_choice=="2": find_way_out() - elif make_choice =="b" - + elif make_choice =="b": + make_call() else: print (userinput) print () @@ -232,8 +228,8 @@ b - Go back to previous choice\n\n""") takehercard() elif usrinput == "2": callthepolice() - elif unserinput =="b" - + elif usrinput =="b": + find_way_out() else: print (userinput) print () @@ -252,7 +248,7 @@ b - Go back to previous choice""") elif karen=="2": persist() elif karen=="b": - + accuse_cheating() else: print (userinput) print () @@ -296,7 +292,7 @@ b - Go back to previous choice\n\n""") elif usrinput == "2": dontresist() elif usrinput == "b": - + persist() else: print (userinput) print () @@ -341,8 +337,8 @@ b - Go back to previous choice\n\n""") get_family_back() elif user_choice == "2": play_russian_roulette() - elif user_choice =="1": - + elif user_choice =="b": + find_way_out() else: print (userinput) print () @@ -364,7 +360,7 @@ b - Go back to previous choice\n\n""") elif user_choice == "2": three_bullets() elif user_choice == "b": - + leave() else: print (userinput) print () @@ -387,7 +383,7 @@ def three_bullets(): elif tv_choice == "2": leave_tv_on() elif tv_choice == "b": - + play_russian_roulette() else: print (userinput) print () @@ -478,8 +474,8 @@ def look_of_shock(): bet_it_all() elif shocked_look == "b": + three_bullets() - else: print (userinput) print ()