http://www.cnblogs.com/feisky/archive/2012/12/06/2805251.html 比较容易记忆的是用内置的set l1 = ['b','c','d','b','c','a','a'] l2 = list(set(l1)) print l2 ... Read More
posted @ 2013-04-25 21:29 adodo1 Views(115) Comments(0) Diggs(0) Edit
http://www.cnblogs.com/feisky/archive/2012/12/06/2805251.html 比较容易记忆的是用内置的set l1 = ['b','c','d','b','c','a','a'] l2 = list(set(l1)) print l2 ... Read More
posted @ 2013-04-25 21:29 adodo1 Views(221) Comments(0) Diggs(0) Edit