[python] Print list without brackets in a single row