Challenge 6: Lowercase to Uppercase
Explore how to convert uppercase strings to lowercase in Python by writing a function that manipulates string cases. Understand the use of Python's basic string methods to perform case conversion through practical coding exercises.
We'll cover the following...
We'll cover the following...
Problem Statement
Given a function changeCase(s), the task is to convert the strings from upper case to lower case.
Input
A string in upper case
Output
Change case of the string in lower case
Sample Input
“AAA BBB CCC”
Sample Output
“aaa bbb ccc”
Coding Exercise
Use the Python documentation on strings to solve the following exercise.
Write your code below. It is recommended that you try solving the exercise yourself before viewing the solution.
Find the solution of the above problem in the next lesson.