title: Python: Check for Negative Numbers
body: <p>I am trying to add a piece of code to this string to check for a negative number in the first position. If the code identifies a negative number it should return "False". I'm having trouble with int and str at the user input command. Sorry, new to Python.</p>
  
  <pre><code>def is_number(S):
      #if s &lt; 0:
          #print("False")
      #else:   
          try:
              float(s)
              return True
          except ValueError:
              pass
  
          try:
              import unicodedata
              unicodedata.numeric(s)
              return True
          except (TypeError, ValueError):
              pass
          return False
  
  s = input()
  
  is_number(s)
  </code></pre>