Q. Greeting Quote
Mr. Greet is the name of the digital notice board placed at the entrance of the seminar hall. Its purpose is to welcome each and every participants of the seminar by showing a welcoming quote with their name on it.
It is based on the function 'Greet' which takes a single parameter 'Name' as a String are the names of the participants as Input One by one.
Write the function definition for 'Greet' which will generate the welcoming quote as below:
For Example, the 'Name' is "Ramakrishnan" then the welcoming quote will be:
Output:
Welcome Ramakrishnan.
It is our pleasure inviting you.
Have a wonderful day.
Note:
'Name' must be of String Data type
Sample Output
Welcome Karthik.
It is out pleasure inviting you.
Have a wonderful day.
def Greet(Name): # Write your code here print("Welcome",Name+'.') print("It is our pleasure inviting you.") print("Have a wonderful day.")
No comments:
Post a Comment
If you have any doubts, Please let us know.