3 ms·a, b = b, a :)by lg 17y agoa, b = b, a :)Torn 17y agoimplicit tuple packing in python doesn't count ;)swolchok 17y agoThat has nothing to do with the semantics of passing parameters to functions. def swap(a,b): a,b = b,a does not work.