title: Trying to return relevant information from a list of lists based on user input
body: <p>I'm very new to Python, and I just can't get the hang of functions yet. I have a list of lists that has 3 products, their inventory, and their price.</p>
  
  <pre><code>products = [['milk', 'eggs','bread'], [10,15,20], [3.50, 2.00, 2.50]]
  </code></pre>
  
  <p>I want to create a function so that the user input can choose which product they want information about, and if they want the inventory number, the price, or both. </p>
  
  <pre><code>def return_information():
  </code></pre>
  
  <p>Does this require a ton of nested if statements or am I overthinking it in that way?
  Should my user input statements take place within this first function or do they belong in a main function where I execute the whole program?</p>