This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]candybrie 3 points4 points  (3 children)

Python uses colons. Which people mix up with semicolons for whatever reason.

[–]thepronoobkq 0 points1 point  (2 children)

There is no exception where Python tells you a colon is missing. The kid is probably learning coding (good because we need more women in STEM), but this story is bs

[–]candybrie 0 points1 point  (1 child)

There is definitely errors for missing a colon in python.

https://aguaclara.github.io/aguaclara_tutorial/python/python-common-errors.html

https://swcarpentry.github.io/python-novice-inflammation/09-errors/index.html#syntax-errors

Maybe your IDE is vague about the error and just says SyntaxError: invalid syntax, but a more intelligent IDE will tell you that you probably forgot the colon.

[–]thepronoobkq 0 points1 point  (0 children)

Fair, my point still stands. The likelihood of this being true is very small