[python] How to put multiple statements in one line?