Python syntax: Could colons be optional when at end of line?
Python syntax: Could colons be optional when at end of line? Question: I would like to understand whether it would be possible to change the syntax of Python making the colons of compound statements optional when they are at the end of the line, apart from whitespace and comments. E.g.: if so() print(“yes”) else print(“no”) …