So I am trying to self teach myself Python, and so far it is working great. However I have ran into a bump in the road and can't really figure out why this script isn't working... Any ideas?
import os
answer = raw_input('Ready for shutdown, continue?')
if answer == raw_input('Yes'):
os.system("shutdown -s -t 0")
else (return)
Thanks,
Powerade661