You are viewing a single comment's thread. Return to all comments →
#
def print_full_name(first, last): # method 1 print("Hello",first,last,end="! You just delved into python.")
# method 2 # print(f"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)
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 →
#
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): # method 1 print("Hello",first,last,end="! You just delved into python.")
if name == 'main': first_name = input() last_name = input() print_full_name(first_name, last_name)