当前第2页 返回上一页
1 2 3 4 5 6 7 8 | >>> str_1.islower()
False
>>> str_2.islower()
False
>>> str_3.islower()
False
>>> str_4.islower()
True
|
istitle()判断首字母是否大写, 其余的是否小写
1 2 3 4 5 6 7 8 | >>> str_1.istitle()
False
>>> str_2.istitle()
False
>>> str_3.istitle()
True
>>> str_4.istitle()
False
|
更多Python相关技术文章,请访问Python教程栏目进行学习!
以上就是python用函数怎么判断大小写的详细内容,更多文章请关注木庄网络博客!!
返回前面的内容
相关阅读 >>
ubuntu能卸载Python吗
Python实现从序列中移除重复项且保持元素间顺序不变
Python中x[::]什么意思
Python注释用什么符号
Python打不开.py文件怎么办
Python中input函数的用法是什么?
flask-migrate扩展的用法介绍(附代码)
对Python字符串中的换行符和制表符介绍
Python怎么下载easygui
Python string、 bytes、 bytearray类型详解
更多相关阅读请进入《Python》频道 >>
人民邮电出版社
python入门书籍,非常畅销,超高好评,python官方公认好书。
转载请注明出处:木庄网络博客 » python用函数怎么判断大小写