Adding a login system

Hey python users!
I have a question, I have this:

Characters = [“a”, “b”, “c”, “d”, “e”, “f”, “g”, “h”, “i”, “j”, “k”, “l”, “m”, “n”, “o”, “p”, “q”, “r”, “s”, “t”, “u”, “v”, “w”, “x”, “y”, “z”, “1,” “2”, “3”]
x = 0
y = 0
Ms = 30
global AccountName
AccountName = “”
global AccountPassword
AccountPassword = “”
global AccountToken
AccountToken = random.choice(Characters)

which is a login system, I need help Improving it, I’m using replit, what could I do?
(Ignore x, y, and Ms)