day02练习
# name = input("请输入你的名字:")# age = int(input("请输入你的年龄:"))# msg = '''# ------- %s 的博客 -------# Name : %s# Age : %s# -------------------------# ''' % (name, name, age)# print(msg)# 小作业,判断敏感词汇# print(2**24)# s = input(">>>")# if not s:# print("不能为空")# else:# pass# a = "sflsjfslfjslfsjfs"# a1 = a.split('s')# print(a1)# a = "\noldboy\t"# a1 = a.strip()# print(a)# print(a1)# a = 'addoldboydb'# a1 = a.strip("addbd")# print(a)# print(a1)# s = 'oldBoy'# s1 = s.capitalize()# print(s)# print(s1)# s2 =s.swapcase()# print(s2)# s3 = s.upper()# s4 = s.lower()# print(s3,s4)# L1 = ['alex','wusir','太白',100,'女神']