# 8kyu - Jenny's secret message

""" Jenny has written a function that returns a greeting for a user. 
However, she's in love with Johnny, and would like to greet him slightly different. 
She added a special case to her function, but she made a mistake.

Can you help her? """


def greet(name):
    if name == "Johnny":
        return "Hello, my love!"
    return f'Hello, {name}!'


q = greet("James")  # "Hello, James!"
q
q = greet("Jane")  # "Hello, Jane!"
q
q = greet("Jim")  # "Hello, Jim!"
q
q = greet("Johnny")  # "Hello, my love!"
q
