Intent Block 7/17


#1
**def shut_down(s):**
**if shut_down("yes"):**
    **return "Shutting down"**
**elif shut_down("no"):**
    **return "Shutdown aborted"**
**else:**
    **return "Sorry"**

This is my current code. It says there is an unexpected indent block on line 2.


#2

Yep that's right . the indentation of all the code in the method is off. this is the right one

def shut_down(s):
    if shut_down("yes"):
        return "Shutting down"
    elif shut_down("no"):
        return "Shutdown aborted"
    else:
        return "Sorry"

Remember all code must be indented 4 spaces in when implementing a method


#3

I put the same code in and it still doesn't work properly


#4

It says a maximum recursion depth exceeded.