28
These are 'methods' that change the case of your text. .upper() makes everything SHOUTING (capital letters), and .lower() makes everything small letters.
This is very useful for comparing text. If you want to check if a user typed "Yes", you can convert their input to lower case first so it doesn't matter if they typed "YES" or "yes".
Log in to add a comment.