title: Trying to return a function as an integer in Python 3
body: <p>When I try to return a function as an integer, and then use that integer in another function, the argument becomes a type 'function'</p>
  
  <p>example:</p>
  
  <pre><code>def makeChoice():
      c = 0
      if input='yes':
          c = 1
      return int(c)
  
  def choiceMade(c)
      if c == 1:
          print('finally this damn thing works')
  
  while True:
      choiceMade(makeChoice)
  </code></pre>
  
  <p>if I debug choiceMade(c) with print(c), I get "function at x980342" instead of an integer, and the if/else statement never is true.</p>
  
  <p>I was under the impression that python functions could be called as arguments so now I am not sure what I am doing wrong.</p>