.lower can someone explain?

I am taking this from 4.3 but can anyone point me in the section where they cover this in detail or provide a quick explanation as to why and how this code works? more_people = more_people.lower()

What is that assigned value?

Hello,

It makes the letter into a lowercase. Without it, the program would reject β€œY” because it’s not β€œy.”

2 Likes

Thank you for this explanation.