Created
September 28, 2016 11:48
-
-
Save toddmilne13/0c489a9e799a0fa2051732438c2b6da4 to your computer and use it in GitHub Desktop.
Pokemon lists project
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
bag = ( 'pokeball' , "pokedex" , 'potion' ) | |
print("Welcome to Todds pokemon shop!!") | |
print("Lets have a look inside your bag!") | |
print ("This may take a while") | |
print (bag) | |
while True: | |
print("What would you like to buy ?, We sell the following..") | |
buy_choice=input(" greatball, raspberry ") | |
if buy_choice=="greatball" | |
bag.apend("greatball") | |
break | |
elif buy_choice=="raspberry" | |
bag.apend("raspberry") | |
break | |
else: | |
print("We dont sell ehh.... "+ buy_choice + "Im very sorry!") | |
print("Great choice user! I hope you come again. Lets have a look in your bag shall we") | |
print (bag) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment