摘要:
1、切片 切片: >>> L = ['Michael', 'Sarah', 'Tracy', 'Bob', 'Jack'] >>> L[:3] ['Michael', 'Sarah', 'Tracy'] >>> L = list(range(100)) >>> L [0, 1, 2, 3, ..., 阅读全文
posted @ 2018-04-09 22:40
富0代
阅读(116)
评论(0)
推荐(0)
摘要:
1.内置函数的调用: 可以在官方网站查找内置函数及说明,也可以通过help(abs)函数查看相应的信息。 https://docs.python.org/3/library/functions.html 举例函数abs(),int(),float(),str(),hex(),max(),bool() 阅读全文
posted @ 2018-04-09 14:30
富0代
阅读(128)
评论(0)
推荐(0)

浙公网安备 33010602011771号