Python password using input

Hello
I am trying to do a Python password generator with user input. I would like the length of at least 6 characters, 1 num, 1 letter, 1 symbol. Output is only 3 characters.
Is not possible to make it right?

code:

output:

image

First you are currently overriding passwordLength in the final line of the input.
Second you are at no point using passwordLength to actually do anything, even if you didn’t override it.
Third right now your program will have letter first, then numbers, then symbols. You might wanna have a random order.
Fourth: What actually did you generate there? That doesn’t look like “letter-number-symbol”.

Thanks for your feedback.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.