In what concerns the continuous evaluation solving exercises grade during the semester, you should submit until 23:59 of October 19th
(this exercise will still be available for submission after that deadline, but without couting towards your grade)
[to understand the context of this problem, you should read the class #02 exercise sheet]
The secret agents at the service of her majesty, the Queen of Algorithmland, need your help! Can you help them introduce themselves to others?
Write a program that given two words a and b, writes the sentence "My name is b, a b!". For instance, if a="James" and b="Bond" than your program should print "My name is Bond, James Bond!".
The input contains two lines. The first line contains a and the second line contains b
The output should be a single line containing "My name is b, a b!" (without the quotes).
The following limits are guaranteed in all the test cases that will be given to your program:
1 ≤ |a|, |b|≤ 20 | size of words a and b |
It is also guaranteed that the input words are constituted only by letters.
Example Input 1 | Example Output 1 |
James Bond |
My name is Bond, James Bond! |
Example Input 2 | Example Output 2 |
mister Python |
My name is Python, mister Python! |