摘要:
# -*- coding: utf-8 -*-dict1 = {"name": "liyuzhoupan", "age": "22", "level": "3"}dict2 = {"name": "LiYuZhou", "age": "32", "level": "6", "students": T 阅读全文
摘要:
# -*- coding: utf-8 -*-import sys,timestr1 = "my name is liyuzhoupan"# 首字母大写print(str1.capitalize())# 统计字符串中的字符出现的次数print(str1.count("n"))# 自动补齐多少位,不够 阅读全文