how to print currency in python code example
Example 1: python currency format locale
import locale
from unicodedata import normalize
locale.setlocale(locale.LC_ALL, 'en-ZA')
locale_currency = locale.currency(116114912749.18, grouping=True)
normalized_currency = normalize('NFKD', locale_currency)
print(normalized_currency)
Example 2: python indian currency formatter
from babel.numbers import format_currency
format_currency(5433422.8012, 'INR', locale='en_IN')