返回顶部
扶摇直上九万里,展翅高飞岂可待。
摘要: # -*- coding: utf-8 -*-dict1 = {"name": "liyuzhoupan", "age": "22", "level": "3"}dict2 = {"name": "LiYuZhou", "age": "32", "level": "6", "students": T 阅读全文
posted @ 2022-08-15 15:32 鲤鱼洲畔 阅读(45) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*-import sys,timestr1 = "my name is liyuzhoupan"# 首字母大写print(str1.capitalize())# 统计字符串中的字符出现的次数print(str1.count("n"))# 自动补齐多少位,不够 阅读全文
posted @ 2022-08-15 15:01 鲤鱼洲畔 阅读(55) 评论(0) 推荐(0) 编辑