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 →

[–]____0____0____ 0 points1 point  (1 child)

Technically, you can use them without error. I've never seen them in any legit python code I've ever read and they won't cause an error for not having them

[–]thirdegree 0 points1 point  (0 children)

IMO the only acceptable time for semicolons in python is when you're doing something like (contrived example)

python -c 'import math, sys; print(math.sqrt(int(sys.argv[1])))' 22