1import ast
2from discord.ext import commands
3from math import * 4import functools
5
6
12 return urllib.parse.quote(first_encoding, safe="*") # Carbonsh encodes text twice
13
14
15def hex_to_rgb(hex: str) -> tuple:16 """
17 Args:
18 hex (str):
Defining a local variable or function with the same name as a built-in object makes the built-in object unusable within the current scope and makes the code prone to bugs.
dict = {} # dict is a Python builtin!
for idx, student in enumerate(students):
dict[student] = idx
roll_number = {}
for idx, student in enumerate(students):
roll_number[student] = idx