[mod-perdu] Manque stats [mod-errors] Petite update [base-config] les éléments de configuration peuvent etre utilisés comme des attributs
13 lines
272 B
Python
13 lines
272 B
Python
NUMBERS = ["1⃣", "2⃣", "3⃣", "4⃣", "5⃣", "6⃣", "7⃣", "8⃣", "9⃣", "🔟"]
|
|
|
|
|
|
def write_with_number(i):
|
|
raw = str(i)
|
|
s = ""
|
|
for c in str(i):
|
|
if raw == ".":
|
|
s += "."
|
|
else:
|
|
s += NUMBERS[int(c)]
|
|
return s
|