摘要:
1总结 day03 capitalize()首字母大写 upper() lower() title() swapcase() startswith() endswith() split() strip() lstrip() rstrip() find() index() isdigit() isal 阅读全文
posted @ 2018-11-27 20:40
李然然
阅读(156)
评论(0)
推荐(0)
摘要:
一、 今日内容 1.什么数据类型 int:1,2,3用于计算。 bool:True,False,用户判断。 str:存储少量数据,进行操作。 list:储存大量的数据。 元组(tuple):只读列表,不可修改。 字典(dict):{"name" : "云姐", "age" : 16} ,{"云姐": 阅读全文
posted @ 2018-11-27 11:43
李然然
阅读(220)
评论(0)
推荐(0)
摘要:
一.format 1.格式化输出 %占位符,s字符串,d数字 2.补充while else 当while被break打断,就不会执行else的结果。 1 count = 0 2 while count <=5: 3 count += 1 4 if count==3: 5 pass 6 print(" 阅读全文
posted @ 2018-11-27 10:21
李然然
阅读(255)
评论(0)
推荐(0)

浙公网安备 33010602011771号