首页 > 编程语言 > 详细

hausaufgabe--python 12-List comprehensions

时间:2017-06-02 11:06:36      阅读:321      评论:0      收藏:0      [点我收藏+]

000-- List comprehensions

技术分享

 技术分享

Above one is equal to :

技术分享

 

 

 

 

for the first one, it‘s equal to :

技术分享

 

 

001-- list functions:

list.sort()

list.reverse() == list.sort(reverse=true)

list.copy()

list.clear() __ the list still exist, but it‘s a empty list after clear.

 

hausaufgabe--python 12-List comprehensions

原文:http://www.cnblogs.com/Shareishappy/p/6931810.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!