0
到函数调用我有下面的代码,它似乎我使用append
以错误的方式,因为我越来越:SyntaxError: can't assign to function call
语法错误:无法分配追加
i = 0
distance = []
distance.append(i) = measureDistance.Distance2BetweenPoints(p1, p2)
我怎样才能解决这个问题?
谢谢。
你想怎么做? –
你的意思是'distance.append(measureDistance.Distance2BetweenPoints(p1,p2))'? – khelwood
downvote会太苛刻是不是? – Ja8zyjits