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.
- Prepare
- Python
- Strings
- What's Your Name?
- Discussions
What's Your Name?
What's Your Name?
Sort by
recency
|
1333 Discussions
|
Please Login in order to post a comment
def print_full_name(first, last):
your fn are locate first,last in the print() and hello is 1st str , first,last+"!", are #2nd str and , "you just delved into python." are last string
print("Hello", first,last+"!", "You just delved into python.") #The answer
if name == 'main': first_name = input() last_name = input() print_full_name(first_name, last_name)
def print_full_name(first,last): print("Hello",first,last+"!", "You just delved into python.")
if name == 'main': first_name = input() last_name = input() print_full_name(first_name, last_name)
def print_full_name(first, last): # Write your code here s=f'Hello {first} {last}! You just delved into python.' print(s) if name == 'main': first_name = input() last_name = input() print_full_name(first_name, last_name)
def print_full_name(first, last): # Write your code here print("Hello "+first+" "+last+"! You just delved into python.")
if name == 'main': first_name = input() last_name = input() print_full_name(first_name, last_name)