continuation

Comments in continuation lines

Comments in continuation lines Question: Say I have a multiline command: if 2>1 and 3>2: print True In an if block, I can add a comment next to one of the conditions by using parentheses to wrap the lines: if (2>1 #my comment and 3>2): print True And, in fact, it is aligned with the …

Total answers: 4