[python] Different ways of clearing lists