Closed kubinka0505 closed 2 years ago
I think this can be easily implemented outside of the library, so there is no need to grow the API and add more attributes.
>>> import currency_converter as cc
>>> c = cc.CurrencyConverter()
>>> default_currency = "GBP"
>>>
>>> rate = c.convert(50, "PLN", default_currency)
>>> f"{rate:.2f} {default_currency}"
'9.33 GBP'
This way you can really format the output however you want.
I think that could be easily implemented with conditional statements