0
I want to do a password-generator. But I don't know how to set the length of the password depended in user input.
Help me.
3 Respuestas
0
have a look at the random module:
random.choices()
or
random.sample()
(either of the above ...depending on..... if repeated characters are allowed).
0
I know how to generate ranom
0
For the random module:
https://docs.python.org/3/library/random.html#module-random
The string module might come in handy too:-
https://docs.python.org/3/library/string.html#module-string