This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"mods":[ | |
{ | |
"id": "mira_api", | |
"name": "MiraAPI", | |
"url": "https://github.com/All-Of-Us-Mods/MiraAPI/releases/download/0.3.1/MiraAPI.dll" | |
}, | |
{ | |
"id": "reactor", | |
"name": "Reactor", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2022 Kejax (https://gist.github.com/Kejax/25ab3221b4530d963f519ccfd789ec54) | |
# This function is published under no license, so feel free to use it | |
def format_number(number: int) -> str: | |
index = 0 | |
formated = str() | |
for digit in list(str(number)): | |
formated = formated + digit | |
if index == 2: | |
formated = formated + "," |