Skip to content

Instantly share code, notes, and snippets.

@Varriount
Created May 21, 2018 05:58
Show Gist options
  • Save Varriount/9f7e140cc34850a898256f731a4094c2 to your computer and use it in GitHub Desktop.
Save Varriount/9f7e140cc34850a898256f731a4094c2 to your computer and use it in GitHub Desktop.
# This...
let nums = {
"0": "₀",
"1": "₁",
"2": "₂",
"3": "₃",
"4": "₄",
"5": "₅",
"6": "₆",
"7": "₇",
"8": "₈",
"9": "₉",
"-": "₋",
"+": "₊",
#".": " ̣"
".": "."
}
# Is the same as this
let nums = [
("0", "₀"),
("1", "₁"),
("2", "₂"),
("3", "₃"),
("4", "₄"),
("5", "₅"),
("6", "₆"),
("7", "₇"),
("8", "₈"),
("9", "₉"),
("-", "₋"),
("+", "₊"),
#(".", " ̣")
(".", ".")
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment