What's Your Name
Objective:
You are given the firstname and lastname of a person on two different lines. Your task is to read them and print the following:
Hello firstname lastname! You just delved into python.
Input Format
The first line contains the first name, and the second line contains the last name.
Solution:
def print_full_name(a, b): print("Hello"+" "+first_name+" "+last_name+"!"+" "+"You"+" "+ "just"+" "+"delved"+" "+"into"+" "+"python.") if __name__ == '__main__': first_name = input() last_name = input() print_full_name(first_name, last_name) |
Note:
This Code is Verified by all Test Cases.If any error occurs then Comment correct code Below in comment box.
Disclaimer:-
The above hole problem statement is given by hackerrank.com, but the solution is generated by the CodexRitik . if any of the query regarding this post or website fill the following contact form Thank You.
What's Your Name? - Hackerrank Solution
Reviewed by CodexRitik
on
March 24, 2020
Rating:
No comments: