Question: Python program with a function called rreeting that takes two parameters: nass and smeet ( with a default value of Hello ) . The function
Python program with a function called rreeting that takes two
parameters: nass and smeet with a default value of "Hello" The function
should print a greeting message using these parameters.
Instructions:
Define the function with two parameters: namo and greet with a default
value of "Hello"
After creating the function, call it twrice: once with both arguments eg
"Alice", H and once with only the nana argument eg "Bob"
Print the results.
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
