SHARE
TWEET

Untitled

a guest Dec 19th, 2018 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def shut_down(s):
  2.   if s=='yes':
  3.     print('Shutting down')
  4.   elif s=='no':
  5.     print('Shutdown aborted')
  6.   else:
  7.     print('Sorry')
  8.  
  9. print('Do you want to shut down?')
  10. decision=input()
  11. s=decision.lower()
  12. shut_down(s)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top