A Python program to convert between Argentine Pesos (ARS), Euros (EUR), and US Dollars (USD) using real-time exchange rates.
- Fetches up-to-date exchange rates from ExchangeRate-API.
- Available conversions:
- ARS → EUR / USD
- EUR → ARS
- USD → ARS
- Interactive terminal interface.
- Default fallback values if API fetch fails.
- Python 3.6+
requests
library:pip install requests
- Clone the repository:
git clone [https://github.com/luisbotteri/python-conversion-monedas](https://github.com/luisbotteri/python-conversion-monedas)
- (Optional) Replace
API_KEY
in the code with your own ExchangeRate-API key.
- Run the script:
python conversor_monedas.py
- Follow the interactive menu:
- ARS → EUR
- ARS → USD
- EUR → ARS
- USD → ARS
- Choose option:
1
- Enter amount in ARS:
1000
- Result:
0.87 EUR
This project is under the MIT License. Free to learn from, modify, and share.
✨ Liked the project? Give it a ⭐ on GitHub!
Programa en Python para convertir entre Pesos Argentinos (ARS), Euros (EUR) y Dólares (USD) usando tasas de cambio en tiempo real.
- Consulta tasas actualizadas desde ExchangeRate-API.
- Conversiones disponibles:
- ARS → EUR / USD
- EUR → ARS
- USD → ARS
- Interfaz interactiva en terminal.
- Valores por defecto si la API falla.
- Python 3.6+
- Biblioteca
requests
:pip install requests
- Clona el repositorio: git clone https://github.com/luisbotteri/python-conversion-monedas
- (Opcional) Reemplaza API_KEY en el código con tu propia clave de ExchangeRate-API.
-Ejecuta el script: python conversor_monedas.py
- Sigue el menú interactivo:
- ARS → EUR
- ARS → USD
- EUR → ARS
- USD → ARS
- Elige opción: 1
- Ingresa cantidad en ARS: 1000
- Resultado: 0.87 EUR
Este proyecto está bajo la licencia MIT. Libre para aprender, modificar y compartir.
✨ ¿Te gustó el proyecto? ¡Déja una ⭐ en GitHub!