Permalink
Cannot retrieve contributors at this time
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?
AdventureGame/sunny.py
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
20 lines (15 sloc)
589 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("----------4000CEM Week 4 Lab 2 Task----------") | |
print("----------------<ARE YOU RUNNINF OR WALKING?>---------------") | |
print("---------------<By Sunny B>--------------") | |
print("\n") | |
print("You are in a park at night you see a shadow do you?") | |
print("a) Run as fast as you can out of the park") | |
print("b) you remain patient and stay put") | |
x = input("Enter a or b: ") | |
if x == "a": | |
print("Luckily you get out of the park") | |
print(".... the shadow reappears") | |
print(" ..... The End") | |
elif x == "b": | |
print("Someone kills you..... ") | |
print(" .... GAME OVER") | |