Question: Define the function print _ greeting to take two arguments: user _ name and time _ of _ day, that prints out a greeting. For
Define the function printgreeting to take two arguments: username and timeofday, that prints out a greeting.
For instance, if the function is called by the line
printgreetingJeff "morning"
The program will output
Good morning Jeff!
If the function is called with
printgreetingTed "afternoon"
The program will output
Good afternoon Ted!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
