Question: Which line in the function print _ greeting ( ) must be changed if the user wishes to print the greeting three times with three

Which line in the function print_greeting() must be changed if the user wishes to print the greeting three times with three different names?
def print_greeting(name): print('Welcome message:') print('Greetings', name)
Select one:
a.
print('Greetings', name)
b.
print('Welcome message:')
c.
None. To print the greeting with three different names, the main program must call print_greeting() three times with three different arguments.
d.
def print_greeting()

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 Programming Questions!