2019年8月9日
摘要:
1.列举布尔值为False的值 0,[],{},(),False,’’,None 列如: if 0: 2.写函数: 根据范围获取其中被3和7整除的所有数的和,符合条件的数字个数以及符合条件的数字的总和 3.函数传递参数时,是否用的同一内存地址 name = “hairui” def show():
阅读全文
posted @ 2019-08-09 15:49
进击的许盈盈
阅读(205)
推荐(0)
2019年8月4日
摘要:
###文件处理 f.open(‘chengli’,endcoding=‘utf-8’) data=f.read() print(data) f.close() 手动关 文件没有修改一说,只有覆盖 f.write()从光标处开始写 with open(‘a.txt’,’w’) as data: wit
阅读全文
posted @ 2019-08-04 08:30
进击的许盈盈
阅读(131)
推荐(0)
2019年7月31日
摘要:
https://www.runoob.com/python/python-100-examples.html 1 题目:有四个数字:1、2、3、4,能组成多少个互不相同且无重复数字的三位数?各是多少? 1 for i in range(1,5): 2 for j in range(1,5): 3 f
阅读全文
posted @ 2019-07-31 15:16
进击的许盈盈
阅读(334)
推荐(0)
2019年6月15日
摘要:
http://www.sohu.com/a/278177183_464033 参考书:摘编自《Python数据科学:技术详解与商业实践》
阅读全文
posted @ 2019-06-15 10:41
进击的许盈盈
阅读(128)
推荐(0)
2019年6月13日
摘要:
Font family ['sans-serif'] not found. Falling back to DejaVu Sans. 解决方法:https://www.zhihu.com/question/25404709/answer/309784195
阅读全文
posted @ 2019-06-13 10:30
进击的许盈盈
阅读(361)
推荐(0)
2019年6月10日
摘要:
https://blog.csdn.net/zk673820543/article/details/52384134 1、PyCharm→Preferences→Project:项目名→Project Interpreter 2、点击加号可以导入新的库,点击install
阅读全文
posted @ 2019-06-10 18:01
进击的许盈盈
阅读(2462)
推荐(0)
摘要:
1 import pandas as pd 2 import numpy as np conda list 查看默认安装的包
阅读全文
posted @ 2019-06-10 17:22
进击的许盈盈
阅读(161)
推荐(0)
2019年6月8日
摘要:
https://www.runoob.com/python/python-built-in-functions.html
阅读全文
posted @ 2019-06-08 16:20
进击的许盈盈
阅读(122)
推荐(0)
2019年2月24日
摘要:
⌘ Command ⇧ Shift ⌥ Option ⌃ Control ↩︎ Return/Enter ⌫ Delete ⌦ 向前删除键(Fn+Delete) ↑ 上箭头 ↓ 下箭头 ← 左箭头 → 右箭头 ⇞ Page Up(Fn+↑) ⇟ Page Down(Fn+↓) Home Fn + ←
阅读全文
posted @ 2019-02-24 21:44
进击的许盈盈
阅读(224)
推荐(0)
摘要:
tuple 元组 interpreter 解释器
阅读全文
posted @ 2019-02-24 17:45
进击的许盈盈
阅读(117)
推荐(0)