Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+5 votes

I changed up my code and now I just don't have the third check right. Anyone know how to make the 3rd check right?

asked in CSC201 Spring 2021 by (1 point)

1 Answer

+4 votes

have two if functions one with applying text.lower(), and one without. For the original text, have it to return true if matchcase is true or false. But for the lowercase applied, to return true if match case is false and vice versa. Don't forget to return false on the outside if it doesn't match any of the criteria.

answered by (1 point)
...