![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python基础
flashing-c
不胜存心,安生苍穹?
展开
-
python中的with语句
python中的with语句https://www.jianshu.com/p/20fd3335648ahttps://www.cnblogs.com/gengyufei/p/11341853.html相关链接https://www.runoob.com/python3/python3-tutorial.htmlhttps://www.runoob.com/python/python-tutorial.htmlhttps://www.runoob.com/manual/pythontutoria原创 2020-06-12 02:17:57 · 171 阅读 · 0 评论 -
python常用基础
1、type函数:days = 365print(days, type(days))2、类型转换:str、int、float函数str_eight = str(8)float_eight = float("8")int_eight = int("8")3、加减乘除、乘方+ - * / 、**print(10**2)结果为1004、list类型month原创 2018-01-06 14:45:41 · 277 阅读 · 0 评论