How do you ignore a case while comparing strings in Python?

Compare strings by ignoring case using Python As both the strings has similar characters but in different case. So to match these strings by ignoring case we need to convert both strings to lower case and then match using operator == i.e. It matched the strings in case in sensitive manner.

Sizin İçin Seçtik  Bankada altın hesabı açtırmak mantıklı mı?

Leave a Reply

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

How do you ignore a case while comparing strings in Python?

Compare strings by ignoring case using Python As both the strings has similar characters but in different case. So to match these strings by ignoring case we need to convert both strings to lower case and then match using operator == i.e. It matched the strings in case in sensitive manner.

Sizin İçin Seçtik  What is case-sensitive and insensitive?

Leave a Reply

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