How to do case insensitive character matching in python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to do case insensitive character matching in python

29th Jul 2019, 12:35 PM
Hassan Bari Raza
Hassan Bari Raza - avatar
2 Answers
0
привет
29th Jul 2019, 12:47 PM
Владимир Яков
Владимир Яков - avatar
0
a = "AbCdE" if a.lower() == "hello world": print("Match")
29th Jul 2019, 1:32 PM
Seb TheS
Seb TheS - avatar