![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
lucifer_rll
这个作者很懒,什么都没留下…
展开
-
python 基础 (第一周)
python 基础笔记 第一周 1. 数据类型 1.1 int 1.2 float 1.3 bool 1.4 complex 1.5 str 2. 字符串形态 2.1 print 直接输出 2.1.1 sep 设定其他字符 2.1.2 format 指定格式输出 2.1.3 指定字符串显示 2.1.4 type() (显示是什么数据类型) 2.1.5 转义字符用法 3. 数据容器类型 3...原创 2019-03-27 08:55:56 · 326 阅读 · 0 评论 -
python 基础 (第二周)
python 笔记 (第二周) 1. 输入一个数值 n (未知位数),将该数各位数倒序输出? 2. 字典调用 当许多个字典在同一个列表中时,需要找到某个value所对应的字典,先通过for遍历找到列表中的dict,当找到 dict[‘key’] = value,此时就已经调用到想要的dict。 3. 字典key 当a[ i ]中的key 不带“ ’ ’ ” 时,key不再是字符,而是一个...原创 2019-04-01 20:28:14 · 706 阅读 · 0 评论