Why it is not figuring . I have take care of identatio


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


Try removing this return statement.


I tried doing it , again it is not working..

this is the error i get

Your code looks a bit off. Feel free to peek back at earlier exercises if you need a refresher! Your code threw the following error: expected an indented block (python, line 2)


Please, post the URL/link to the exercise you're on. You should post your code using < / > on your menu.

Thank you! :slight_smile:


Asides removing that return statement, try using single quotes for your strings instead of double. Things could be funny sometimes. :wink:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.