Task from SoloLearn
Given the password length as input, create a program that will generate a random password by using a set of characters. The length must be between 8 and 32 characters.
Numbers, English alphabet (uppercase and lowercase) and symbols (ASCII) are allowed. Spaces, invisible ASCII and non-ASCII characters are not.
Input: 8
Output: aR67+oP_
Input: 12
Output: kS5h7a*e$n@e
Let the user type his password, then calculate the strength of the password.