Python3 lower()方法
Python 3 教程
· 2019-02-06 06:13:18
描述
Python lower() 方法转换字符串中所有大写字符为小写。
语法
lower()方法语法:
str.lower()
参数
- 无。
返回值
返回将字符串中所有大写字符转换为小写后生成的字符串。
实例
以下实例展示了lower()的使用方法:
#!/usr/bin/python3 str = "Codercto EXAMPLE....WOW!!!" print( str.lower() )
以上实例输出结果如下:
codercto example....wow!!!
点击查看所有 Python 3 教程 文章: https://codercto.com/courses/l/10.html
Computer Age Statistical Inference
Bradley Efron、Trevor Hastie / Cambridge University Press / 2016-7-21 / USD 74.99
The twenty-first century has seen a breathtaking expansion of statistical methodology, both in scope and in influence. 'Big data', 'data science', and 'machine learning' have become familiar terms in ......一起来看看 《Computer Age Statistical Inference》 这本书的介绍吧!