fancyroad  

1.python的对象是通过引用传递的。

2.多元赋值:

  x, y = y, x

 

posted on 2014-08-07 17:21  fancyroad  阅读(95)  评论(0)    收藏  举报