The line that calls the function is indented too much, so it’s actually inside the function.
happy_birthday()
needs to be aligned with def happy_birthday
That is what Matthew meant when he said the line is inside the function.
Hope this helps.
def happy_birthday():
print("Hello")
happy_birthday()
1 Like