[python] How to append multiple items in one line in Python