摘要: import this print("hello world!") s1="bai " s2="lin!" s=f"{s1}{s2}" #f 是format的意思,后面的s1,s2会把值复制到中括号内 生成一个新的字符串 print(s.title()) #每个字母的开头大写 a = 2 b = 3 阅读全文
posted @ 2023-04-01 15:48 我的秘密小屋 阅读(4) 评论(0) 推荐(0) 编辑