#C13636. Password Validator
Password Validator
Password Validator
You are given a string that represents a password. Your task is to validate the password according to the following criteria:
- The string must be between 8 to 15 characters long.
- It must contain at least one uppercase letter, one lowercase letter, one digit, and one special character from the set \(\{\$, #, @\}\).
- The string must not contain any whitespace characters.
If the password meets all these conditions, output True
. Otherwise, output False
.
inputFormat
The input consists of a single line containing the password string to validate.
Note: The input is read from standard input (stdin).
outputFormat
Output a single line: True
if the password meets all the criteria, and False
otherwise.
Note: The output should be sent to standard output (stdout).
## samplePassword123@
True