Skip to content

A terminal-based Python program that calculates annual CO₂ emissions from daily driving and monthly electricity use. Built with functions, constants, and clean console I/O to demonstrate beginner Python skills and raise awareness about environmental impact through code.

Notifications You must be signed in to change notification settings

iampenuel/carbon-footprint-calculator

Repository files navigation

🌍 Carbon Print — Your Terminal Emissions Tracker

Carbon Print is a friendly little Python tool that gently exposes your lifestyle’s environmental impact...

🎯 What It Does

  • Asks how many miles you drive per day
  • Asks how much electricity you use per month
  • Gives you a clean little summary in metric tons of carbon
  • Built to show what you can do with variables, math, and empathy

🧪 Skills Used

  • input(), float(), print() with f-strings
  • Defined functions for modularity and clarity
  • Constants and basic math calculations
  • Zero external libraries (we rawdog Python here...)

🖼️ Sample Run

Miles per day driven? 25 kWh per month used? 300

🚗 Driving: 3.75 tons 💡 Electricity: 1.50 tons 🌍 Total: 5.25 tons

👨‍💻 Built By

Penuel Stanley-Zebulon
Electrical Engineering major @ Penn State
Learning Python, Git, and AI...

GitHub Profile
LinkedIn

❗️Disclaimer

This tool is for educational purposes only! Actual CO₂ values may vary based on region, power sources, and whether your car is secretly a spaceship lol!

About

A terminal-based Python program that calculates annual CO₂ emissions from daily driving and monthly electricity use. Built with functions, constants, and clean console I/O to demonstrate beginner Python skills and raise awareness about environmental impact through code.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages