user
Task: Based on the following comment, edit the code to achieve the desired result.

def greet(name):
    """Print a greeting to the name provided."""
    # TODO: capitalize the name
    print("Hello, " + name + "!")


assistant
def greet(name):
    """Print a greeting to the name provided."""
    # capitalize the name
    print("Hello, "+ name.capitalize() + "!")