I Want A Countdown That Accepts A Custom Input : <p>So i have tried my absolute hardest to try and get my code to work what i want is a input responsive countdown can anyone help?</p>

<pre><code>    print ("Would You like To Start A Countdown? Y/N (CASE SENSITIVE)")
countdownyn = input (':')
if countdownyn == ('Y'):
    print ("Please Enter Your Designated Time To Countdown From")
x = input (':')
def countdown(x) :
    while x&gt; 0:
        print (x)
        print ("")
        time.sleep(1)
        x = x1
    if x ==0:
        print("BLAST OFF!")
countdown(x)
</code></pre>
