Skip to content Skip to sidebar Skip to footer

Python 3 - Print Syntax Error

I know now in Python 3 Print is a function, but my print, I believe, is in accordance with the syntax, but still giving error Syntax print (json.dumps(data, indent=4, sort_keys=Tru

Solution 1:

If the debugger shows at the print while saying that it is an SyntaxError, then you mostly forgot a bracket in the line before it. Can we see some more lines? Like 1 or 2 before it?

Edit: Just an example enter image description here

Post a Comment for "Python 3 - Print Syntax Error"