Medium
Clean the Arguments First
Write a decorator
clean_args that strips spaces and capitalises every string argument before calling the function. Decorate greet(first, last) returning Hello, FIRST LAST!. Read two lines and print the result.Input
Two lines.
Output
One line.
Sample 1
Input
mim RAHMAN
Output
Hello, Mim Rahman!
Sample 2
Input
rafi ahmed
Output
Hello, Rafi Ahmed!
Output appears here