>>/37050/
It depends on language. Most languages allow writing everything in one line almost without whitespaces. But python (as original post says) is not like this, it uses indentation for separation of code blocks, and mostly can't be used for one-liners (except some rare cases).