+ 2
Password Generator. Check my and suggest your own version
import random charsCaps = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" chars = "abcdefghijklmnopqrstuvwxyz" nums = "0123456789" symbols = "!@$%^&_=+-/.)" all_data = charsCaps + chars + nums + symbols password = '' for x in range(12): password = password + random.choice(all_data) print('Your new password: ' + password) https://code.sololearn.com/cPdibYYWOwN5/#
3 Respostas
+ 2
Cool! Your feature is useful!
+ 1
I added some checks to be sure you've used at least one of each character type.
https://code.sololearn.com/cIu8y5423O89/#py
0
Thanks :)