摘要: print("Hello World") # 变量 a=" this is string " print(a) # 字符串方法 print(a.title())#首字母大写 print(a.strip())#去除开头和结尾空白 lstrip()开头 rstrip()结尾 print(a.upper( 阅读全文
posted @ 2022-08-22 18:10 lwx_R 阅读(24) 评论(0) 推荐(0) 编辑