So, I have to make a dice rolling sim. for my class project. I had it working until I had to make it loop. There is an invalid syntax with the closing quotation marks.
roll_another ("Yes or no? If yes,4,6,or8?"):
Because I am fairly new, I don't know many reasons why this could be happening.
I hope this doesn't sound stupid.

Invalid syntax is always a very simple error. The only strange thing in your code is the colon at the end of the line. This can happen only when the line starts with a keyword such as if, elif, else, for, while, def, class, try, except, finally, with, lambda.

What is the beginning of the line ?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.