![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
sunhaoning
这个作者很懒,什么都没留下…
展开
-
python学习笔记:range()函数用法
>>> range(1,5) #代表从1到5(不包含5)[1, 2, 3, 4]>>> range(1,5,2) #代表从1到5,间隔2(不包含5)[1, 3]>>> range(5) #代表从0到5(不包含5)[0, 1, 2, 3, 4]再看看list的操作:array = [1, 2, 5, 3, 6, 8, 4]#其实这里的顺原创 2017-03-15 08:37:35 · 1443 阅读 · 0 评论 -
python学习--list
#encoding=utf8#1.1创建列表类型数据并给它赋值aList = [123,'abc',4.56,['inner','list'],7-9j]anotherList = [None,'something to see here']print (aList)print (anotherList)aListThatStartedEmpty = []print (原创 2017-10-23 17:09:43 · 299 阅读 · 0 评论 -
Kaggle_Titanic生存预测
强烈推荐 http://blog.csdn.net/Koala_Tree/article/details/78725881转载 2018-03-16 21:50:24 · 343 阅读 · 0 评论