Python String Convert to Lowercase Example

By Hardik Savani August 9, 2022 Category : Python

Hey Developer,

This tutorial will give you an example of python string convert to lowercase. I’m going to show you about python program to convert string to lowercase. you'll learn python function to convert string to lowercase. In this article, we will implement a how to convert string into lowercase in python. follow the below example for how to turn a string into lowercase python.

There is a way to convert a string into lowercase in python. i will give you one example using lower() method to convert string into lowercase. so let's see the below examples.

You can use these examples with python3 (Python 3) version.

let's see below a simple example with output:

Example 1:

myString = " is a great SITE!"
# String Convert to LowerCase
lowerString = myString.lower()

Output: is a great site!

I hope it can help you...

Tags :