摘要: 小tips:(1)print不换行:print(x, end="") (2)[::-1]:切片 倒序 (3)s='' s[0]=error s[0:]='' s[10:]=''4. str.isupper() str.islower() str.istitle() 如果字符串中所有的单词拼写首字母是 阅读全文
posted @ 2017-03-15 22:37 sys_c 阅读(152) 评论(0) 推荐(0) 编辑