How do I use this code over and over again on pc | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do I use this code over and over again on pc

import string from random import * letters = string.ascii_letters digits = string.digits symbols = string.punctuation chars = letters + digits + symbols min_length = 8 max_length = 16 password = "" for x in range(randint(min_length, max_length)): password += choice(chars) print(password)

26th Aug 2016, 2:12 PM
Vishal Gali
Vishal Gali - avatar
2 Answers
0
you could put the whole thing in a while true: loop
27th Aug 2016, 2:25 AM
sickenchode
0
...are you trying to make a hacking program...?
27th Aug 2016, 8:47 PM
Oscar
Oscar - avatar