2020年11月26日
摘要: 可变不可变 可变:列表,字典 不可变:字符串,数字,元组 访问顺序:字符串,列表,元组 映射:字典 存放元素个数: 容器类型:列表,元组,字典 原子:数字,字符串 阅读全文
posted @ 2020-11-26 13:39 starock 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 数字 int() 字符串 replace/find/join/strip/startswith/split/upper/format template = "i am {name}" v= template.format(**{"name": "star"}) # name='star' print 阅读全文
posted @ 2020-11-26 10:37 starock 阅读(85) 评论(0) 推荐(0) 编辑