摘要: ################################################################################################################ 回顾: 字符串 数字 列表 元组 字典 可变不可变: 1.可变:列表,字典 阅读全文
posted @ 2020-03-15 21:38 Sundance8866 阅读(187) 评论(0) 推荐(0) 编辑
摘要: # 99乘法表# i = 1# j = 0# fa = ""# temfa = '{0} * {1} = {2}'# while i < 10:# j = 1# while j < i + 1:# if len(fa) > 0:# if j == i:# fa = fa + temfa.format 阅读全文
posted @ 2020-03-15 16:01 Sundance8866 阅读(199) 评论(0) 推荐(0) 编辑
摘要: ####################### 整理 ################# # 一、数字# int(..)# 二、字符串# replace/find/join/strip/startswith/split/upper/lower/format# tempalte = "i am {na 阅读全文
posted @ 2020-03-15 13:01 Sundance8866 阅读(134) 评论(0) 推荐(0) 编辑