Add the Shout Function
So maybe let’s order this a little bit so that we have basically a small little task list where we already have solved the first part because we are in the
string module, so we can already delete the first line of the comment and tackle the next one: add a function called
01:09 That means you need to add something in the parentheses. Now, when you define a function and you have to define a parameter, you should be thoughtful of how to name this parameter because you will use it in the function, and it should be descriptive.
So the last part of this task is to return the string with all letters in uppercase, and in Python, you can do this with the
.upper() method. When you save it, you can try this function out by running the module and then calling
Become a Member to join the conversation.