Python String lower() MethodPython lower() method returns a copy of the string after converting all the characters into lowercase. SignatureParametersNo parameter. ReturnIt returns a lowercase string. Let's see some examples of lower() method to understand it's functionalities. Python String lower() Method Example 1See a simple example in which string is converting into lowercase. Output: javatpoint Python String lower() Method Example 2String can be varried and has any case of letters. The method will return a new string of lowercase. Output: welcome to javatpoint, www.javatpoint.com Python String lower() Method Example 3We can test it whether it returning lowercase by using if statement. See the example below. Output: lowercase Next TopicPython Strings |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India