title: How to disable only one thing (from user input) and keep the others running for 30 seconds?
body: <p>Let's say you are making a game and it has an input that asks you what do you want to do.</p>
  <pre><code> bal=0
  while True:
    question=input(&quot;What do you want to do?&quot;)
      if(input==&quot;beg&quot;):
        print(Adding 500$ to your balance.)
        bal=bal+500
      elif(input==&quot;bal&quot;):
        print(&quot;Balance: &quot;+str(bal))
  </code></pre>
  <p>I want to make a timer so the user cannot use beg command for 30 seconds. But still be able to use other commands -I'll probably add more commands.
  Btw I couldnt do indents here the website page went downward but imagine the while true loop and ifs has correct indent.</p>