title: Python <function functionName at 0x00000000>
body: <p>I'm defining a function that I can call to store the user's input as a variable,
  make sure it's a number, and convert the number to a integer for a formula later in the code.</p>
  
  <p>So the idea is, when the program gets to <strong>days</strong> it prompts the user to input <strong>getAnswer</strong>, which launches the function, to check the answer the user gives, and convert it to an integer. Same thing with <strong>worked</strong></p>
  
  <pre><code>def getAnswer(a):
      while True:
          if a.isdecimal():
              a = int()
              break
          print('Numbers only please...')
  
  days = input(getAnswer)
  worked = input(getAnswer)
  </code></pre>
  
  <p>This is what it ends up looking like &lt;<a href="http://i.stack.imgur.com/BVLqV.jpg" rel="nofollow">function functionName at 0x013A1300</a>></p>