Write a function, shut_down, that takes one parameter (you can use anything you like; in this case, we\'d use s for string).
shut_down
s
The shut_down func
You can try this code:
def shut_down(s): if s =="yes": return "Shutting Down" elif s =="no": return "Shutdown aborted" else: return "Sorry" print shut_down("yes")