-
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)
'python' 카테고리의 다른 글
알고리즘 필수. Stack/Queue/재귀/bfs/dfs (0) 2023.11.17 Running Time Check Code (0) 2022.02.15