Inspiration

To reduce food waste by forgetting food in your pantry

What it does

This code will allow a user to document their portions throughout a day. They will be able to input the meal they are logging. They will also be able to track the food they eat. The program will then tell them how many portions they have left.

How I built it

I used a dictionary to store meals, food, and portions. The key was the meal, and I had a tuple to hold the food and portion sizes. The user could update that dictionary through a series of inputs.

Challenges we ran into

I had trouble checking whether the dictionary was empty or exactly what was in it. I needed to do this so that I could give a review of the day's eating to the user.

Accomplishments that we're proud of

I was able to finish the project relatively quickly and solve most problems I ran into.

What's next for Portion Log

Make the code more concise and efficient

Built With

Share this project:

Updates