Whats wrong with this


#1
def shut_down(s):
    if s="yes":
    return "Shutting down"
    elif s="No":
    return "Shutdown aborted"
    else:
    return "sorry"

#2

with a single = you assign a value to the variable, you need to use double or rather triple === to check if that variable matches.