4 ms·
Which part? A new line is the same amount of data as a semi-colon.
by thomasfoster96 11y ago
Which part? A new line is the same amount of data as a semi-colon.
- wlof 11y agoYes, but you can cut out some of the indentation whitespace using semicolons.
- zo1 11y agoItems that are on the same "level" of indentation, I.e. in a codeblock can have all of them prepended with the whitespace, and then separated with semi-colons. def func(param): for i in xrange(5): print("Inner");print("AnotherLine");print("YetAnotherLine") From the example you see that whitespace is still necessary, but you could "group" items and not have to repeat the whitespace that forms their level of indentation.