python
Easy #1
나미-IT
2021. 7. 11. 10:27
https://www.hackerrank.com/challenges/whats-your-name/problem#
What's Your Name? | HackerRank
Python string practice: Print your name in the console.
www.hackerrank.com
# Complete the 'print_full_name' function below.
#
# The function is expected to return a STRING.
# The function accepts following parameters:
# 1. STRING first
# 2. STRING last
#
def print_full_name(first, last):
return print("Hello {0} {1}! You just delved into python.".format(first,last))
# return print("Hello " + first + " "+ last + "! You just delved into python.")
# Write your code here
if __name__ == '__main__':
first_name = input()
last_name = input()
print_full_name(first_name, last_name)