Write a program to compare two strings case insensitive in python
Answers
Answered by
0
Answer:
To allow case-insensitive comparisons Python offers special string methods such as upper() and lower() . Both of them are directly available as methods of the according string object. upper() converts the entire string into uppercase letters, and lower() into lowercase letters, respectively.
Answered by
0
Explanation: To allow case-insensitive comparisons Python offers special string methods such as upper() and lower() . Both of them are directly available as methods of the according string object. upper() converts the entire string into uppercase letters, and lower() into lowercase letters, respectively.
Similar questions
Math,
3 months ago
Science,
3 months ago
Physics,
6 months ago
Biology,
6 months ago
Social Sciences,
1 year ago
Physics,
1 year ago
Social Sciences,
1 year ago