Skip to content

Instantly share code, notes, and snippets.

View nathan-yan's full-sized avatar
🏠
Working from home

Nathan Yan nathan-yan

🏠
Working from home
View GitHub Profile
import hashlib
class pcolors:
YELLOW = '\033[93m'
GREEN = '\033[92m'
BLUE = '\033[94m'
FAIL = '\033[91m'
ENDC = '\033[0m'
def pad(a, length, padWith = '0', direction = 'right'):