Change the Case (Exercise)
00:00 Here’s your next exercise. It’s about a change of case. In this exercise, your task is to change the case of strings. Just experiment and practice a bit with the different string methods that you can use for, yeah, changing case in strings.
And the task is to write a program that converts the following strings to lowercase first. And then you have four strings here. The first one is
"Animals", the second one is
"Badger", the third one is
"Honey Bee", and the fourth one is
and you should print each of the strings on a separate line. So, the result of solving this task basically is going to be a whole lot of lines of
print() calls where you apply some string methods in it.
Become a Member to join the conversation.