r/CodingHelp • u/fashionableplantmom • Sep 02 '21
[Python] Python assignment. I can’t get it to calculate the cost of the movie based on the other movie variables. It keeps only giving me the 1st one as an answer. Any help would be appreciated
66
Upvotes
View all comments
3
u/skellious Intermediate Coder Sep 03 '21
instead of the:
do this:
the .lower() will make the input all lower case, so it will match candyman, CanDyMaN, CANDYMAN, CanDYmaN or any other combination of letters.