Untitled

 avatar
unknown
plain_text
a year ago
303 B
3
Indexable
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