We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
👋 Hello, a better approach is using the format function helper. It will allow you to replace {} with the variables.
## 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#defprint_full_name(first,last):print("Hello {}{}!Youjustdelvedintopython.".format(first, last))if__name__=='__main__':first_name=input()last_name=input()print_full_name(first_name,last_name)
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
What's Your Name?
You are viewing a single comment's thread. Return to all comments →
👋 Hello, a better approach is using the format function helper. It will allow you to replace
{}
with the variables.