Python学习第二天
摘要:条件语句:if if 表达式: 代码块 if 表达式: 代码块 elif 表达式: 代码块 else: 代码块
阅读全文
posted @
2021-09-15 21:29
卡哇伊的蜗牛
阅读(36)
推荐(0) 编辑
Python学习第一天
摘要:1、Python的特点 语法简单 跨平台 可扩展 类库丰富 开源代码 2、学习Python编程的 Python官方文档:https://www.python.org/doc/ iPython:http://ipython.org/ jupyter notebook:https://jupyter-n
阅读全文
posted @
2021-09-01 22:33
卡哇伊的蜗牛
阅读(57)
推荐(0) 编辑
Python69个内置函数分类总结
摘要:参考官网: https://docs.python.org/zh-cn/3/library/functions.html 1 类型相关 与类型相关的指,把入参包装为某种类型,这样的内置函数包括: bool() #d布尔型 int() #d整形 str() #d字符型 tuple() #d元包型 di
阅读全文
posted @
2020-04-30 16:32
卡哇伊的蜗牛
阅读(355)
推荐(0) 编辑
print函数中的flush
摘要:print(...) print(value, ..., sep=' ', end='\n', file=sys.stdout, flush=False) Prints the values to a stream, or to sys.stdout by default. Optional key
阅读全文