Python Functions, Packing, and Unpacking Introduction to Functions Create and Call a Function

Create a function called my_first_function. Inside the function body, indent 4 spaces and write the word "pass".

anyone can tell me why the code is not working

creating_functions.py
def my_first_function():
    pass

5 Answers

Note sure. I copy/pasted your code into the challenge and it passed.

I don't know what happend It still not working

Still doesn't work for me - is this a bug?

you need to leave 4 spaces ____pass

Benjamin Gooch
Benjamin Gooch
20,324 Points

I'm working on this same one and it says: Bummer: Whoops - did you create a function called print_topic?

This is clearly a problem... Any suggestions on how to progress past this?

Benjamin Gooch
Benjamin Gooch
20,324 Points

Strange... I reloaded the page, tried again, and it worked fine. Either way, the error message provided as a response is not even close to what I was instructed to do.