Inspiration
Being students, we are constantly bombarded with the burdens of life. Balancing work, school, and relationships can be overwhelming and one thing we don't all have easy access to is an abundance of time and money. Thus OPP.CO came to life, the ultimate student hack portal that allows them to save time and money.
What it does
The program allows for the user to input the number of grocery items they might require, the shopping destination, and the mode of transportation necessary to reach there. The program will take into account external factors of cost, such as price of groceries and transportation, and time in order to calculate the total opportunity cost of accessing the chosen store. This will be useful when students need to weigh their options and look at the opportunity costs of shopping, whether they would be willing to spend more time to save more money or vice versa.
How we built it
During the design phase, we outlined the variables necessary in creating the code. We would need to incorporate the cost of groceries (same brand, similar composition) for all the store included in the calculation, cost of transportation based on which store was being accessed, and the time taken to reach there. By doing so, we were able to identify the need for nested choices and input statements which would give the user more of a leeway to choose between numerous available alternatives and opportunities. In order to calculate the total opportunity costs, we did preliminary research to factor in the variables to mimic real-life scenarios more accurately. By incorporating all the aforementioned features, we concluded that the most effective way to optimize the best solution would be for the user to input the preferences voluntarily and in return, receive an updated statement which outline the total cost and time they will be using or taking.
Challenges we ran into
Some of the challenges raised were during the computing process. We wanted to account for all and any irregular entries made by a user and thus, did case testing. During the case testing phase, we realized that some inputs required had to be in a specific string or integer form, if the user did not input the exact same format as the required input, there would be an error raised. To deal with this, we incorporated exception handling which would raise a print statement to continuously urge the user to try again with different values until they input the correct format, all under a while loop.
Accomplishments that we're proud of
So happy to have created a functional and simple program that is user friendly given time constraints and limited coding experience. Proud to have create a program that has purpose, is able to helps students like ourselves, and create opportunities for community engagement. Awesome to have worked together with a friend, we were able to build off of each others strengths to create you see today
What we learned
While there are other applications such as Flipp that give you the best deals at grocery stores, there is currently not an application that takes into account the cost of grocery items, cost of transportation while also considering the amount of time dedicated to the commute to the store. As beginners programmers we were also able to expand on our coding skills to create this program which was awesome! Coding isn’t as daunting as we thought it was as long as we were going slow and steady and used the help of great mentors
What's next for OPP.CO
Our long term goal is to create a fully functional and versatile mobile application as well as a website that allows users to easily access the platform. By upgrading the program by integrating APIs and making it more efficient, the potential for this program to grow is great. Furthermore, there are great opportunities to engage with the community and key stakeholders such as grocery stores, services like Uber, and more to make students and other users to become more aware of the amount of time and money they’re spending to make smarter financial decisions.
Built With
- jupyter
- python

Log in or sign up for Devpost to join the conversation.