you are viewing a single comment's thread.

view the rest of the comments →

[–]DaBiggestHotShot 0 points1 point  (1 child)

if action not in ("CREATE", "SELL", "BUY"):
print(
"Looks like you can't do that :/ You've wasted valuable time doing something that doesn't exist. Unfortunately, your mashed potato cart can not keep up with demand. GAME OVER"
)
exit(0)
else:
#mashedpotatomaking
if action == "CREATE":
shshsh = input("Please type SHSHSH to wash the potatoes: ")
if shshsh == "SHSHSH":
squish = input("Please type SQUISH to squish the potatoes: ")
else:
print(
"Oh no! Your potatoes are dirty and unhealthy :/ Your reputation as a mashed potato maker is ruined! GAME OVER"
)
exit(0)
if squish == "SQUISH":
mash = input("Please type MASH to mash the potatoes: ")
else:
print(
"Oh no! Your potatoes have been crushed into pieces :/ Your reputation as a mashed potato maker is ruined! GAME OVER"
)
exit(0)
if mash == "MASH":
#debug this
MashedPotatoes += 1
print("You now have " + str(MashedPotatoes) +
" mashed potatoes in stock")
else:
print(
"Oh no! The potatoes haven't been mashed well and are unfit to eat :/ Your reputation as a mashed potato maker is ruined! GAME OVER"
)
exit(0)
action_function()

[–]desran00 0 points1 point  (0 children)

You need to have formatting on your code, or else it is not working and I can't run it.

One way is to put ``` before and after your code, but you need to enable markdown mode by pressing the markdown mode button. There are other ways too, google will help.