title: Why do my variables suddenly become none?
body: <p>This is My code, why does my variable, individual_cost, print correctly using the print statement but becomes non on the return?</p>
  
  <pre><code>def determine_individual_menu_item(total_food_cost):
  
      individual_cost = total_food_cost
  
      food_item = input("Enter food item: ")
  
      if food_item == "1" or food_item == "2" or food_item == "3" or food_item == "4" or food_item == "5" or food_item == "6" or food_item == "7":
  
          food_item = int(food_item)
          food_cost = get_cost_of_food_items(food_item)
  
      else:
          print("Please enter a food item on the menu.")
          determine_individual_menu_item(total_food_cost)
  
      yes_or_no = input("Is that the end of the order (y/n)? ")
      if yes_or_no =="y":
          individual_cost = acumulate_food_cost(individual_cost , food_cost)
          print(str(individual_cost))
          return individual_cost
      if yes_or_no =="n":
          individual_cost = acumulate_food_cost(individual_cost , food_cost)
          determine_individual_menu_item(individual_cost)  
  </code></pre>