Skip to content
Article: Finding the Best Deal on Food using Data Science.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Finding the Best Deal on Food using Data Science:

What is this?

This is companion code explaining the solution presented in this article on my website. If you haven't already, read the article for a detailed explanation of the purpose and design choices behind this program.


  • Python 3 with numpy installed.

How to use it:

$ python3

# example:
$ python3
What is your max daily budget in dollars?
What is your desired daily calorie intake?
31 cases to consider, okay!
Ayt Miss. Here is your $3.89 meal:
    - Old El Paso Flour Tortilla Shells: 1.0 units
    - Black beans: 2.0 units
It gives you 25% fat 94% carbs 127% protein of your daily intake
You can’t perform that action at this time.