For the theme of “Environment and Sustainability,” our group focused on global warming, the topic that we were most passionate about. We wanted the user to learn as much as possible, so we gave them 3 very different options to play around with. Each option was a separate function written in python by each teammate. The first option is to generate a random fact about global warming. It is generated through a specific prompt for ChatGPT. The second option is a multiple-choice global warming quiz. It asks questions ranging from the rate of deforestation to how much CO2 the ocean absorbs. The user will receive a different message depending on their quiz score. The last option was a greenhouse gas simulation.
We scoured the internet for research papers, graphs, and organizational websites that mentioned any equations we could include in our code that would warrant an accurate calculation. Our greenhouse gas simulation calculates how many gigatons of carbon dioxide would be present in the atmosphere based on various factors such as the year, human population, vegetation, fertilization, oceans, renewable energy, etc. The user can change the numerical value for each of these factors to learn how much atmospheric carbon dioxide amounts will change based on their inputs.
Built With
- chatgpt
- chatgptapi
- git
- github
- google-docs
- python
- vs-code
Log in or sign up for Devpost to join the conversation.