title: printing a positive or a negative integer, using user input()
body: <p>I'm trying to use a recursive function to get the users input and print the correct values. the countup function  will be executed only if the value of n is negative, the recursive function  will then print values staring from the value of n to -1 until reaches 0. the value of n should be given by the user! whichever number the user inputs the program should either call the countup for negative or countdown for positive.</p>
  
  <pre><code>def countdown(n):
       n = int(input('enter number: '))
  
      if n &lt;= 0:
           print('ok')
      else:
           print(n)
            countdown(n-1)
  
  
  
  def countup(n):
      countdown(n)
     if a &gt;= 0:
         print('double ok')
     else:
         print('enter number: ')
             newnumb = input()
             new_int = int(newnumb)
                  countup(new_int)
  
  
   print(countdown())
   countup()
  </code></pre>