Advertisement
clockworkpc

Keep You In The Loop

May 1st, 2011
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.74 KB | None | 0 0
  1. #!/usr/bin/python
  2. #/home/clockworkpcasus/Documents/bin/keepinloop.py
  3.  
  4. #
  5. # Released under a GPLv3 Licence by Clockwork PC 2011
  6. #
  7. # www.clockworkpc.com.au
  8. #
  9. # You are entitled to the following four freedoms:
  10. # Freedom 0: To run this program for any purpose
  11. # Freedom 1: To study how this program works and change it to make it do what you wish
  12. # Freedom 2: To redistribute copies so you can help your neighbour
  13. # Freedom 3: To distribute copies of your modified version to others
  14. # Please do not denigrate free or open source software.
  15. ###
  16.  
  17. running = True
  18. while running:
  19.     answer = raw_input("What are you doing tonight? ")
  20.     if "swing dancing" in answer:
  21.         running = False
  22.     else:
  23.         print "I'll keep you in the loop."
  24. print "Great! Let's go!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement