title: Disabling KeyboardInterrupt after it has been used once
body: <pre><code>Cont = 1
  while Cont == 1:
      try:
          while Cont == 1:
              counter = counter + 0.1
              counter = round(counter, 1)
              print(counter)
              time.sleep(0.1)
              if counter == crashNumber:
                  Cont = 0
      except KeyboardInterrupt:
          Multiplier = counter
  </code></pre>
  
  <p>Here the counter will continue to count up unitl it reaches the <code>crashNumber</code>, when <kbd>Ctrl</kbd> + <kbd>C</kbd> is pressed, it will take the number that the <code>counter</code> is at and use it for the <code>Multiplier</code> to be used later. </p>
  
  <p>However I only want to give the user the chance to press this once, then it is disabled. Is there any way that this can be done?</p>