Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
from haolam import StoryA
print("----------4000CEM Week 4 Lab 2 Task----------")
print("----------------<InsertTitleHere>---------------")
print("---------------<InsertAuthorsHere>--------------")
print("\n")
print("You awake in a dark room. Do you:")
print("a) Scream for help.")
print("b) Press the light switch")
x = input("Enter a or b: ")
if x == "a":
StoryA()
# Contine adventure Here
elif x == "b":
print("The light comes on.")
print("You do not recognise the room but you have a really bad feeling...")
resp = input("You hear a scream outside, do you wish to respond or stay quiet?\n1. Respond\n2. Stay Quiet")
if resp == 1:
print("You do not get a reply")
elif resp == 2:
print("The scream gets louder")
else:
print("That was not an option. Game Over")