title: How can I store a function into a variable when my function has user input
body: <p>I want to store a python function which has an input function [eg: a = input("Item number: ")], into a variable.</p>
  
  <p>So when I call that variable, it should initiate the main function stored in it. </p>
  
  <p>I tried to make a sample function:</p>
  
  <ol>
  <li>Which takes input from a user and returns it. </li>
  <li>Stored that function into a variable, let's say x.</li>
  </ol>
  
  <pre><code>    def user_input():
          item_number = input("Item number: ")
          return item_number
      x=user_input()
  </code></pre>
  
  <p>-Now when I'm calling that variable x, it is returning the value which was 
   given to the function as input.</p>
  
  <p>-What I want is, it should initiate the function stored in it and ask the user 
   for input.</p>