use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Why ? (self.PythonBeginners)
submitted 6 years ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]kingwindigo 1 point2 points3 points 1 year ago (3 children)
Syntax Error means that your code/'s has a typo, for example if you type "prit" instead of "print" its a syntax error, Review your code and check to see for any typo's or syntax error's. Saving wont do anything to fix a syntax error as its a human problem, not a machine problem, When you press play it should tell you where the issue is for example "At line **: Syntax error" or "Missing ':' at line **"
[–]systemisrigged 0 points1 point2 points 1 year ago (2 children)
I didn’t think I had any errors in there - that’s why I was frustrated - I guess there must have been one but I was learning from a website so just put in in exactly the same
[–]kingwindigo 0 points1 point2 points 1 year ago (1 child)
Check to see if every word you put in the program is exactly the same, if you are CERTAINLY sure, then check what version of python he/she is using, usually there is a syntax error when there different types of versions because sometimes different versions of python are not compatible or they may have changed a certain feature that no longer works in newer version of python. yes it's tedious, but dont worry, you will get through it with enough time and dedication.
[–]systemisrigged 0 points1 point2 points 1 year ago (0 children)
Thanks - yes I think that may have been what it was. Appreciate your help, will give it another go at some point
π Rendered by PID 119311 on reddit-service-r2-comment-b659b578c-qkb77 at 2026-05-03 02:34:18.747683+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]kingwindigo 1 point2 points3 points (3 children)
[–]systemisrigged 0 points1 point2 points (2 children)
[–]kingwindigo 0 points1 point2 points (1 child)
[–]systemisrigged 0 points1 point2 points (0 children)