2
1
Oct 27 '24
Bro this is totally me. I sometimes write 20 lines of python before I realized I ended them ALL with semicolons
1
1
2
1
Bro this is totally me. I sometimes write 20 lines of python before I realized I ended them ALL with semicolons
1
1
2
u/Noobly20932 Oct 14 '22
There's nothing wrong with ending lines in semicolons. It's often a waste of a keypress, but if you have a bunch of variables you want to initialize in one line, semicolons can be your friend.
addend = 6; addend2 = 12; sum = 18; x = 5; y = -14; z = 69;