{"id":24778,"date":"2021-11-02T09:46:29","date_gmt":"2021-11-02T04:16:29","guid":{"rendered":"https:\/\/python-programs.com\/?p=24778"},"modified":"2021-11-05T19:16:56","modified_gmt":"2021-11-05T13:46:56","slug":"python-string-lower-method-with-examples","status":"publish","type":"post","link":"https:\/\/python-programs.com\/python-string-lower-method-with-examples\/","title":{"rendered":"Python String lower() Method with Examples"},"content":{"rendered":"

In the previous article, we have discussed Python String index() Method with Examples<\/a>
\nString lower() Method in Python:<\/strong><\/p>\n

lower() returns a string with all characters in lower case.<\/p>\n

Symbols and numbers are not accepted.<\/p>\n

Syntax:\u00a0<\/strong><\/p>\n

string.lower()<\/pre>\n

Parameter Values:<\/strong> This method has no parameters.<\/p>\n

Return Value:<\/strong><\/p>\n

lower() returns the lowercase string from a given string. It converts all uppercase to lowercase characters.<\/p>\n

If no uppercase characters are found, the original string is returned.<\/p>\n

Examples:<\/strong><\/p>\n

Example1:<\/strong><\/p>\n

Input:<\/strong><\/p>\n

Given String = \"HELLO this IS Btechgeeks\"<\/pre>\n

Output:<\/strong><\/p>\n

The given original string : HELLO this IS Btechgeeks\r\nThe given string after applying lower() method :\r\nhello this is btechgeeks<\/pre>\n

Example2:<\/strong><\/p>\n

Input:<\/strong><\/p>\n

Given String = \"GooD MORNING btechgeeks@123$$#\"<\/pre>\n

Output:<\/strong><\/p>\n

The given original string : GooD MORNING btechgeeks@123$$#\r\nThe given string after applying lower() method :\r\ngood morning btechgeeks@123$$#<\/pre>\n

String lower() Method with Examples in Python<\/h2>\n