Advertisement
clockworkpc

Swing Dancing Flowchart

Apr 29th, 2011
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.79 KB | None | 0 0
  1. #!/usr/bin/python
  2. #/home/clockworkpc/Documents/bin/footwork.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. #
  15. ###
  16.  
  17. bpm = int(raw_input("How fast is the music? "))
  18.  
  19. if bpm >= 300:
  20.     print "Balboa"
  21. elif bpm < 300:
  22.     if bpm > 180:
  23.         print "Charleston"
  24.         print "6 Beat"
  25.     elif bpm <= 180:
  26.         if bpm >= 120:
  27.             print "Lindy!"
  28.         elif bpm < 120:
  29.                 if bpm >= 80:
  30.                     print "Blues"
  31.                 elif bpm < 80:
  32.                     print "Get a room."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement