import random
import string

while True:
    size = int(input(">>>"))

    def password(size):
        pw = ''

        for i in range(size):
            a = random.randint(0, 93)
            pw += string.printable[a]
        return pw


    print(password(size))


bbce0a565157f7312de446751c8e8a616ddc79f3
<mask token>

<mask token>
while True:
    size = int(input('>>>'))

    def password(size):
        pw = ''
        for i in range(size):
            a = random.randint(0, 93)
            pw += string.printable[a]
        return pw
    print(password(size))

import random
import string
while True:
    size = int(input('>>>'))

    def password(size):
        pw = ''
        for i in range(size):
            a = random.randint(0, 93)
            pw += string.printable[a]
        return pw
    print(password(size))

import random
import string

while True:
    size = int(input(">>>"))

    def password(size):
        pw = ''

        for i in range(size):
            a = random.randint(0, 93)
            pw += string.printable[a]
        return pw


    print(password(size))

