How check if strings are equal ignoring case in Python?

Pubblicato il: 18 ottobre 2023
sul canale di: ProgramGuru
69
2

To check if two strings are equal ignoring the case in Python, convert both of the strings to either lower case or upper case, and then use 'Equal to' comparison operator. The Equal to comparison operator returns True, if the two values are equal, or False otherwise.

Refereces
========
Python String lower()
https://www.tutorialkart.com/python/p...

Python String upper()
https://www.tutorialkart.com/python/p...

Python Tutorial
https://www.tutorialkart.com/python/


In questa pagina del sito puoi guardare il video online How check if strings are equal ignoring case in Python? della durata di ore minuti seconda in buona qualità , che l'utente ha caricato ProgramGuru 18 ottobre 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 69 volte e gli è piaciuto 2 spettatori. Buona visione!