1
0

A little clean up.

This commit is contained in:
Alexander Andreev 2020-07-07 02:28:31 +04:00
parent 2a126c3dfd
commit df9a8f0632

View File

@ -123,29 +123,3 @@ class Currency:
return f"{self.iso};{self.name};{self.description};" \
f"{self.count};{','.join(self.coin_names)};" \
f"{','.join(list(map(str, self.face_values)))}"
# CURRENCIES: Dict[str, Currency] = {
# "RUB": Currency("RUB", "Russian ruble", "Russian Federation", 8,
# ["1к.", "5к.", "10к.", "50к.", "1₽", "2₽", "5₽", "10₽"],
# [1, 5, 10, 50, 1_00, 2_00, 5_00, 10_00]),
# "SRUB": Currency("SRUB", "Russian ruble (shortened)",
# "Russian Federation. Excluding coins of 1 and 5 kopek.",
# 6, ["10к.", "50к.", "1₽", "2₽", "5₽", "10₽"],
# [10, 50, 1_00, 2_00, 5_00, 10_00]),
# "BYN": Currency("BYN", "Belarusian ruble", "Belarus", 8,
# ["1к.", "2к.", "5к.", "10к.", "20к.", "50к.", "1р.", "2р."],
# [1, 2, 5, 10, 20, 50, 1_00, 2_00]),
# "UAH": Currency("UAH", "Ukrainian hryvnia", "Ukraine", 10,
# ["1к.", "2к.", "5к.", "10к.", "25к.", "50к.", "₴1", "₴2", "₴5", "₴10"],
# [1, 2, 5, 10, 25, 50, 1_00, 2_00, 5_00, 10_00]),
# "USD": Currency("USD", "US Dollar", "United States of America", 6,
# ["1¢", "5¢", "10¢", "25¢", "50¢", "$1"],
# [1, 5, 10, 25, 50, 1_00]),
# "EUR": Currency("EUR", "Euro", "European Union", 8,
# ["1c", "2c", "5c", "10c", "20c", "50c", "€1", "€2"],
# [1, 2, 5, 10, 20, 50, 1_00, 2_00]),
# "GBP": Currency("GBP", "Pound sterling", "United Kingdom", 9,
# ["1p", "2p", "5p", "10p", "20p", "25p", "50p", "£1", "£2"],
# [1, 2, 5, 10, 20, 25, 50, 1_00, 2_00])
# }