I don't understand the error which i got


def shut_down(s):
if s == 'yes':
print "shutting down"
else s == 'no':
print "shutting down is aborted"
print "sorry"

File "python", line 4
else s == 'no':
SyntaxError: invalid syntax


def shut_down(s):
if s=='yes':
return ("shutting down")

elif s=='no':
    return ("Shutdown aborted")

    return ("sorry")

    there ya go, I fiddled around with it for a devil of a long time, happy coding