What's Your Name?

  • + 0 comments

    👋 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
    #
    
    def print_full_name(first, last):
        print("Hello {} {}! You just delved into python.".format(first, last))
    
    if __name__ == '__main__':
        first_name = input()
        last_name = input()
        print_full_name(first_name, last_name)