3
SOLVED: Why does this say it's invalid syntax?
JAGMAN248 (4)

I'm not sure why this is giving me this error. It appears that it should work but doesn't. Here's the link https://repl.it/@JAGMAN248/Roll-the-Dice. Thanks for your help!

You are viewing a single comment. View All
1
theangryepicbanana (654)

you need an else statement for the previous if/elif chain. I'd also recommend doing gold += bet * 2 instead of gold = gold + bet * 2

1
ArchieMaclean (520)

@theangryepicbanana that wasn't the reason for the syntax error though