Solution 1

def append_greeting_to_name(name):
    return "Hello {}".format(name)

Fix the Append Error

The function provided is broken. Your job is to figure out what's going on and fix it.

Use the tests to guide you.

Test Cases

test for jordan - Run Test

def test_for_jordan():
    assert append_greeting_to_name('Jordan') == 'Hello Jordan'

test for number one - Run Test

def test_for_number_one():
    assert append_greeting_to_name(1) == 'Hello 1'
def append_greeting_to_name(name): # THIS IS BROKEN # YOUR JOB IS TO FIX IT # You can change this function as much as you want return "Hello " + name