This file contains hidden or 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
| import random | |
| rock = ''' | |
| _______ | |
| ---' ____) | |
| (_____) | |
| (_____) | |
| (____) | |
| ---.__(___) | |
| ''' |
This file contains hidden or 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
| import random | |
| rock = ''' | |
| _______ | |
| ---' ____) | |
| (_____) | |
| (_____) | |
| (____) | |
| ---.__(___) | |
| ''' |
This file contains hidden or 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("welcome to treasure island") | |
| print("your mission is to find the treasure") | |
| choice1 = input('you are at the crossroad where do you want to go?' | |
| ' type "left" or "right".').lower() | |
| if choice1 == "left": | |
| choice2 = input('you\'ve come to a lake , there is a island in the middle of the lake . ' | |
| 'type "wait" to wait for the boat. type "swim" to swim across') | |
| if choice2 == "wait": |
This file contains hidden or 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("welcome to treasure island") | |
| print("your mission is to find the treasure") | |
| choice1 = input('you are at the crossroad where do you want to go?' | |
| ' type "left" or "right".').lower() | |
| if choice1 == "left": | |
| choice2 = input('you\'ve come to a lake , there is a island in the middle of the lake . ' | |
| 'type "wait" to wait for the boat. type "swim" to swim across') | |
| if choice2 == "wait": |
This file contains hidden or 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("welcome to the band name generator") | |
| # city = input("which city did you grow up in \n") | |
| # pet = input("what is a name of a pet\n") | |
| # print("your band name could be : " + city + " " + pet ) | |
| print("welcome to band name generator") | |
| city = input("what is the city you grow up in ?") | |
| print(city) | |
| pet = input("what is your pet name ") |