Untitled
unknown
plain_text
2 years ago
303 B
8
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