python string match ignore case

Solutions on MaxInterview for python string match ignore case by the best coders in the world

showing results for - "python string match ignore case"
María Camila
20 Jan 2020
1if firstStr.lower() == secStr.lower():
2    print('Both Strings are same')
3else:
4    print('Strings are not same')
5