A simple and interactive command-line unit converter written in Python.
Supports conversions for length, temperature, and currency.
- Length conversions: meters, kilometers, inches, miles, etc.
- Temperature conversions: Celsius, Fahrenheit, Kelvin
- Currency conversions (based on hardcoded exchange rates)
- CLI interface with minimal input
- Built to feel like a handy utility script
- Python 3 or higher
python3 unit_converter.pyThen follow the prompts like:
Choose type (length / temp / currency): temp
Enter value: 100
From unit: c
To unit: f
100.0 c = 212.0 fm,cm,mm,km,in,ft,yd,mi
c(Celsius)f(Fahrenheit)k(Kelvin)
usd,inr,eur,gbp,jpy
(Note: Exchange rates are hardcoded and based on values as of July 1, 2025)