Untitled
Anonymous
Plain Text
03/09/2024 6:16 PM
303 B
15
Indexable
Never
from forex_python.converter import CurrencyRates
c = CurrencyRates()
amount = float(input("1000: "))
from_currency = input("USD: ").upper()
to_currency = input("USD: ").upper()
result = c.convert(from_currency, to_currency, amount)
print(f"{amount} {from_currency} равно {result} {to_currency}")Editor is loading...
Leave a Comment