Python Forum

Full Version: def Display Data Invalid Syntax error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am getting an Invalid Syntax error and I cannot find it, it highlights the line and I know that it can be above it but still cannot find it. . I have looked at online Python documents but not able to figure it out.

[attachment=732]

I fixed it. It was missing a colon. Thank you.
You're missing : at the end of the line.
Also, the next line needs to be indented.