Skip to content

A Python tool to check vehicle fuel efficiency and convert between MPG, km/l, and L/100km.

License

Notifications You must be signed in to change notification settings

Reinhard-BA/fuel_efficiency_checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš— Fuel Efficiency Checker

A Python program to check vehicle fuel efficiency using EPA data (2010โ€“2025).
Users can enter a brand, model, and year to get results in different formats:

  • MPG (miles per gallon)
  • km/l (UK & US)
  • L/100km

๐Ÿš€ Quickstart

git clone https://github.com/Reinhard-BA/fuel_efficiency_checker.git
cd fuel_efficiency_checker
python fuel_efficiency_checker.py

Enter the vehicle brand here: -> toyota
Enter vehicle model here: -> camry
Enter year here: -> 2020

-----------------------------------------
    Metric     |        Value        
-----------------------------------------
Combined MPG   |       28.00 mpg
km/l (UK)      |        9.93 km/l
km/l (US)      |       11.90 km/l
L/100km        |        8.40 L/100km
-----------------------------------------

**โœจ Features**

Partial model name search (camry โ†’ matches camry LE, camry SE, etc.)

Choose between multiple trims if found

Clean table output with units

**๐Ÿ› ๏ธ Tech**

Python 3.8+

Built-in modules only (csv, sys)

About

A Python tool to check vehicle fuel efficiency and convert between MPG, km/l, and L/100km.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages