s3 = s.swapcase()#反轉大小寫. print(s3). #每個首字母大寫. s4 = 'abc asc asd'#s4 = 'abc*asc_asd' 用空格,特殊字符,數字隔開計算字符串個數.
確定! 回上一頁