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?
+ 0 comments print(f'Hello {first} {last}! You just delved into python.')
+ 0 comments firstname =input (" ") lastname = input (" ") print(f' Hello {firstname} {lastname} ! You just delved into python')
+ 0 comments def print_full_name(first, last): print("Hello {0} {1}! You just delved into python.".format(first,last))
+ 0 comments print("Hello "+first+" "+last+"! You just delved into python.")
- Try these code
+ 0 comments def print_full_name(first, last): # Write your code here print(f"Hello {first} {last}! You just delved into python.") if __name__ == '__main__': first_name = input() last_name = input() print_full_name(first_name, last_name)
Load more conversations
Sort 1123 Discussions, By:
Please Login in order to post a comment