You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would be good.
I guess, it can be done via dictionary that has the Country ISO (not the country name as you suggested for instance for United Sates, could be US) as the key and currency for the value and then get the value to lookup the currency.
I'd suggest to work it up as a the Enum which could help to keep it clean.
Soon, I'll add type checking via mypy etc and it would be great to have a full type hints on the code base as well.
Feel free to make a pull request, I'll try to review and give suggestion and get it merged quickly.
Another country-specific enhancement (especially for EUR that is used in countries with so many different languages) would be the number format, such as decimal comma/point or thousands separator as space, point, or comma.
Would be nice if you could just write the country and get the currency, like
The text was updated successfully, but these errors were encountered: