摘要:
笔记-python-lib-内置函数 注:文档来源为Python3.6.4官方文档 1. built-in functions 如果 source 为整数,则返回一个长度为 source 的初始化数组; 如果 source 为字符串,则按照指定的 encoding 将字符串转换为字节序列; 如果 s 阅读全文
posted @ 2018-09-24 20:41
木林森__𣛧
阅读(205)
评论(0)
推荐(0)
摘要:
笔记-python-tutorial-5.data structure 1. data structure 1.1. list operation remove the first item from the list whose value is x.if x is not exist retur 阅读全文
posted @ 2018-09-24 20:27
木林森__𣛧
阅读(154)
评论(0)
推荐(0)
摘要:
笔记-python-tutorial-4.controlflow( and function) 1. 函数 1.1. 定义函数 def name(x): “””函数的第一行语句可以是可选的字符串文本,即函数的文档字符串,或docstring””” if x>= 0: return x 空函数 def 阅读全文
posted @ 2018-09-24 13:58
木林森__𣛧
阅读(147)
评论(0)
推荐(0)

浙公网安备 33010602011771号