Day - 03

01_字符串常用方法_大小写 判断字符串 变成‘标题’ In [1]: 'Hello'.istitle() Out[1]: True In [2]: 'hello'.istitle() Out[2]: False In [7]: 'heLLo'.islower() Out[7]: False In [8]: 'heLLo'.isupper() Out[8]: False 将字符串全部变为大写 I
相关文章
相关标签/搜索