Question: Using Python 3 Write a function named greeting, that takes someone's name as a parameter and returns a string consisting of Hello followed by
Using Python 3 Write a function named greeting, that takes someone's name as a parameter and returns a string consisting of "Hello " followed by that name. For example, greeting("Jemma") should return (not print out) "Hello Jemma". Next write a function named shout that will take that function and someone's name as parameters, call the function on the name to get the greeting string, convert the greeting string to all-caps, and return the capitalized greeting. For example, shout(greeting, "Jemma") should return (not print out) "HELLO JEMMA".
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
