04Say Hello

    Very easystringsf-strings

    Write greet(name) that returns the text Hello, NAME! with the name filled in.

    For example greet("Ada") returns "Hello, Ada!".

    Examples

    Example 1
    >>> greet('Ada')
    'Hello, Ada!'
    Example 2
    >>> greet('Guido')
    'Hello, Guido!'

    Run examples checks the 2 examples above. Submit runs all 4 tests, including hidden edge cases, and marks the challenge solved.

    solution.py
    Loading Python…

    Test results show up here

    Write greet in the editor, then run the examples. Use print() freely: its output is shown for each test.