title: Pygame music pause/unpause toggle
body: <p>Okay here's my code:</p>
  
  <pre><code>def toggleMusic():
  
      if pygame.mixer.music.get_busy():
          pygame.mixer.music.pause()
  
      else:
          pygame.mixer.music.unpause()
  </code></pre>
  
  <p>---event handling---</p>
  
  <p>if pressed 'm' it should toggle whether the music is paused and not paused         </p>
  
  <pre><code>toggleMusic()
  </code></pre>
  
  <p>It can pause the music but not unpause, any explanation?</p>