1 # ----------- 首字母大写 ---------- 2 test = "alex is a man" 3 v = test.capitalize() 4 print(v): Alex is a man
参与评论
手机查看