A simple Currency Converter built in Python using the free ExchangeRate API.
ExchangeRate API.
This project allows you to list available currencies, check exchange rates, and convert amounts directly in the terminal.
Run the program:
bash Copy code python currency_converter.py 🎮 Example Usage mathematica Copy code 🌍 Welcome to the Currency Converter! Commands: list - list available currencies rate - get exchange rate between two currencies convert - convert an amount q - quit
Enter a command: rate Enter base currency (e.g., USD): USD Enter target currency (e.g., INR): INR USD -> INR = 83.15
Enter a command: convert Enter base currency (e.g., USD): USD Enter amount in USD: 10 Enter target currency (e.g., EUR): EUR 10 USD = 9.25 EUR