HackerRank- Python What's Your Name


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.

  1. def print_full_name(a, b):
  2. print("Hello " + a, b + "! You just delved into python.")
  3. if __name__ == '__main__':
  4. first_name = input()
  5. last_name = input()
  6. print_full_name(first_name, last_name)

download android app