import random
from tkinter import *
import string

def generate_password():
    password=[]
    for i in range(5):
        alpha = random.choice(string.ascii_letters)
        symbol = random.choice(string.punctuation)
        numbers = random.choice(string.digits)

        password.append(alpha)
        password.append(symbol)
        password.append(numbers)
    y = "".join(str(x) for x in password)
    lbl.config(text=y)


root = Tk()
root.geometry("250x200")
btn = Button(root,text="Generate Password",command=generate_password)
btn.grid(row=2,column=2)
lbl = Label(root,font=("thoma",15,"bold"))
btn.grid(row=4,column=2)
root.mainloop()
46eedcaa21b9de209eaa7811491cc6e1ea0704f8
<mask token>


def generate_password():
    password = []
    for i in range(5):
        alpha = random.choice(string.ascii_letters)
        symbol = random.choice(string.punctuation)
        numbers = random.choice(string.digits)
        password.append(alpha)
        password.append(symbol)
        password.append(numbers)
    y = ''.join(str(x) for x in password)
    lbl.config(text=y)


<mask token>

<mask token>


def generate_password():
    password = []
    for i in range(5):
        alpha = random.choice(string.ascii_letters)
        symbol = random.choice(string.punctuation)
        numbers = random.choice(string.digits)
        password.append(alpha)
        password.append(symbol)
        password.append(numbers)
    y = ''.join(str(x) for x in password)
    lbl.config(text=y)


<mask token>
root.geometry('250x200')
<mask token>
btn.grid(row=2, column=2)
<mask token>
btn.grid(row=4, column=2)
root.mainloop()

<mask token>


def generate_password():
    password = []
    for i in range(5):
        alpha = random.choice(string.ascii_letters)
        symbol = random.choice(string.punctuation)
        numbers = random.choice(string.digits)
        password.append(alpha)
        password.append(symbol)
        password.append(numbers)
    y = ''.join(str(x) for x in password)
    lbl.config(text=y)


root = Tk()
root.geometry('250x200')
btn = Button(root, text='Generate Password', command=generate_password)
btn.grid(row=2, column=2)
lbl = Label(root, font=('thoma', 15, 'bold'))
btn.grid(row=4, column=2)
root.mainloop()

import random
from tkinter import *
import string


def generate_password():
    password = []
    for i in range(5):
        alpha = random.choice(string.ascii_letters)
        symbol = random.choice(string.punctuation)
        numbers = random.choice(string.digits)
        password.append(alpha)
        password.append(symbol)
        password.append(numbers)
    y = ''.join(str(x) for x in password)
    lbl.config(text=y)


root = Tk()
root.geometry('250x200')
btn = Button(root, text='Generate Password', command=generate_password)
btn.grid(row=2, column=2)
lbl = Label(root, font=('thoma', 15, 'bold'))
btn.grid(row=4, column=2)
root.mainloop()

import random
from tkinter import *
import string

def generate_password():
    password=[]
    for i in range(5):
        alpha = random.choice(string.ascii_letters)
        symbol = random.choice(string.punctuation)
        numbers = random.choice(string.digits)

        password.append(alpha)
        password.append(symbol)
        password.append(numbers)
    y = "".join(str(x) for x in password)
    lbl.config(text=y)


root = Tk()
root.geometry("250x200")
btn = Button(root,text="Generate Password",command=generate_password)
btn.grid(row=2,column=2)
lbl = Label(root,font=("thoma",15,"bold"))
btn.grid(row=4,column=2)
root.mainloop()