- 博客(3)
- 收藏
- 关注
原创 python学习笔记3---变量与运算符
什么是变量假设两个list做数学运算>>> [1,2,3,4,5,6] [1,2,3]Traceback (most recent call last): File "<pyshell#0>", line 1, in <module> [1,2,3,4,5,6] [1,2,3]TypeError: list indices must b...
2018-10-27 11:35:50
158
原创 python学习笔记2---python中表示“组”的概念与定义
列表(list)>>> type([1,2,3,4,5,6])<class 'list'>>>> type(["hello","worls",1,9])<class 'list'>>>> type(["hello","worls",1,9,
2018-10-12 15:54:19
153
原创 python学习笔记1---python的基本数据类型
Number:数字1)整型与浮点型整数:int(没有short、int、long之分)浮点数:float(python里面没有单精度和双精度之分)&gt;&gt;&gt; print('hello world')hello world&gt;&gt;&gt; 11&gt;&gt;&gt; 133434133434&gt;&
2018-10-10 14:21:48
152
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人