ld have included the code that I already have. I've attatched an image of what I've already done. Is it possible for you to fit in the case insensitive coding to what I've already got? I'm ver
I should have included the code that I already have. I've attatched an image of what I've already done. Is it possible for you to fit in the case insensitive coding to what I've already got? I'm very confusd.


1- This is correct, Python is a case−sensitive programming language. It suggests that it feels uppercase and lowercase letters differently.
2- Case-insensitive means the string that the user is reaching should be the same as a string that is to be compared but both strings can be either in upper case or lower case.
3- But in this example, or condition is used to make the if, elif condition in an insensitive format.
4- If the user enters either f capital letter or a small letter it should work
5- In the same way for C also.
Example -
if unit == "C" or unit == "c":
elif unit == "F" or unit == "f":
1- upper() & lower() methods used to ignore case in python.
2- The upper() method is used to convert all the lower letters to upper case format.
3- lower() method is used to convert all the upper letters to lowercase format.
Step by step
Solved in 3 steps with 2 images









