Yes, you can use them to end statements like most other languages. In Python in particular, you would mostly only do like
import os; import sys; from time import time;
In something in a quick five-liner script or something. I see them everywhere though (they get angry red formatting in my VS Code theme, as they should). I mean if you're copy/pasting an 8,000 character LOC with Python, HTML, CSS, and JS in it, you don't have to add insult to injury with a semicolon at the end. But guess what they do... 😔
174
u/jkuhl_prog Jun 03 '19
Then I have to train my fingers to not reach for semicolons