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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!