def Display Data Invalid Syntax error - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: def Display Data Invalid Syntax error (/thread-21709.html) |
def Display Data Invalid Syntax error - Linuxdesire - Oct-10-2019 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. RE: def Display Data Invalid Syntax error - stranac - Oct-11-2019 You're missing : at the end of the line.Also, the next line needs to be indented. |