Challenge 6: Lowercase to Uppercase

This challenge tests your knowledge of strings. Your task is to change the letter case of a string.

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.

Press + to interact
def changeCase(s):
# Write your code here
a = 0 # convert string to "AAA BBB CCC"
b = 0 # convert string to "aaa bbb ccc"
return [a, b]

Find the solution of the above problem in the next lesson.