Based on the following comment, edit the code to achieve the desired result.
def greet(name):
    """Print a greeting to the name provided."""
    # capitalize the name
    print("Hello, "+ name.capitalize() + "!")