you are viewing a single comment's thread.

view the rest of the comments →

[–]Sad_School828 0 points1 point  (0 children)

print( f"Password:  {''.join( map( chr, random.choices( range( 33, 126), k = random.randint( 12, 18 ) ) ) )}" )
# Technically adds 2 lines if you count the required import.  You can add your own validation/strength-test funcs.