title: Python & API user input
body: <p>My code is </p>
  
  <pre><code>import requests
  from pprint import pprint
  
  from pip._vendor.distlib.compat import raw_input
  
  recipe_ingredients = input("What is the recipe ingredients? ")
  number_recipes = input("How many recipes do you want? ")
  url = 'https://api.spoonacular.com/recipes/findByIngredients?ingredients={}&amp;number={}&amp;'.format(recipe_ingredients,number_recipes)
  
  response = requests.get(url)
  print(response)
  </code></pre>
  
  <p>However, when I am inputting more than one ingredient in the format of (two ingredients) cheese <strong>and</strong> potato it is returning results for either the first variable or tells me there is a syntax error with <strong>and</strong>. </p>
  
  <p>Is there any way I am able to program my search function to accept <strong>and</strong> ,whereby it can display all the results for both words, as it is likely a user will put 'and' within their search for more than one ingredient. </p>
  
  <p>( I am using pycharm btw) </p>