a=['a']b=['b']defcreturn['c'],['d']enda,b+=c#->wouldbeawesome,butgivessyntaxerrora,b=a+c.first,b+c.last#clunkyandwillcallmethodtwice...#desiredresult#a==['a','c']b==['b','d']现在我经常发现自己在写:t,tt=ca+=tb+=tt但如果你问我,那有点丑陋。编辑:单元素数组似乎让一些人感到困惑,因为下面的几个答案并没有回答这个问题。我通过让每个数组至少有2个元素使它更清楚。Edit2:我提交了一份featurerequ