Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- #/home/clockworkpcasus/Documents/bin/keepinloop.py
- #
- # Released under a GPLv3 Licence by Clockwork PC 2011
- #
- # www.clockworkpc.com.au
- #
- # You are entitled to the following four freedoms:
- # Freedom 0: To run this program for any purpose
- # Freedom 1: To study how this program works and change it to make it do what you wish
- # Freedom 2: To redistribute copies so you can help your neighbour
- # Freedom 3: To distribute copies of your modified version to others
- # Please do not denigrate free or open source software.
- ###
- running = True
- while running:
- answer = raw_input("What are you doing tonight? ")
- if "swing dancing" in answer:
- running = False
- else:
- print "I'll keep you in the loop."
- print "Great! Let's go!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement