How do you perform a case-insensitive comparison in Python?

Python string has a built-in lower() method that converts all the characters in the string to the lower case. It returns a string with all the characters converted into lower case alphabets. We can convert two strings to the lower case with the lower() method and then compare them case-insensitively .

Sizin İçin Seçtik  What is maximum supply?

Leave a Reply

Your email address will not be published. Required fields are marked *