What's Your Name?

Sort by

recency

|

1413 Discussions

|

  • + 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)

  • + 0 comments
    def print_full_name(first, last):
        print(f"Hello {first} {last}! You just delved into python.")
    
  • + 0 comments
    def print_full_name(first, last):``
        print ("Hello {} {}! You just delved into python.".format(first,last))
        
    
  • + 0 comments

    def print_full_name(first, last): return f"Hello {first} {last}! You just delved into python." l=print_full_name("Ross","Taylor") print(l)

    using return statement(it returns again and again)

  • + 0 comments

    def print_full_name(first, last): if len(first) and len(last) <=10: print(f'Hello {first} {last}! You just delved into python.') return print_full_name