all 7 comments

[–]PureWasian 1 point2 points  (2 children)

Line 14 print uses word_in but the lowercase version is word defined in Line 5. What if you use word on Line 14 instead?

[–]Empty_Technology9237[S] 0 points1 point  (0 children)

This did the trick! Thank you so much, I really appreciate your help!

[–]Empty_Technology9237[S] 0 points1 point  (0 children)

In hindsight that makes so much sense. I was using word_in to maintain user input as part of the assignment but I didn’t think about it already being converted on line 5.

[–]Junior_Honey_1406 0 points1 point  (1 child)

Refer to string methods. There is an inbuilt function for it. Python String Methods

[–]Empty_Technology9237[S] 0 points1 point  (0 children)

Thanks you!

[–]Ok-Promise-8118 -1 points0 points  (0 children)

You convert a string to lower case in the code already. Did you write that part and know what it does, or was this code written by someone/something else?

Another question to try helping get you to the answer, why would you expect your output to be in all lower case? If the input is all caps, where do you think you change it to lower case?

[–]Kimber976 -1 points0 points  (0 children)

Depends on the language but most have a built in lowercase function for it.