Skip to content

Instantly share code, notes, and snippets.

@toddmilne13
Created September 28, 2016 11:48
Show Gist options
  • Save toddmilne13/0c489a9e799a0fa2051732438c2b6da4 to your computer and use it in GitHub Desktop.
Save toddmilne13/0c489a9e799a0fa2051732438c2b6da4 to your computer and use it in GitHub Desktop.
Pokemon lists project
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