#K51262. Taco: Password Validator
Taco: Password Validator
Taco: Password Validator
You are given a string representing a password. Your task is to determine whether the password is valid based on the following security requirements:
- The password must be at least 8 characters long.
- It must contain at least one uppercase letter (A-Z).
- It must contain at least one lowercase letter (a-z).
- It must include at least one numerical digit (0-9).
- It must have at least one special character from the set: !, @, #, $, %, ^, &, *
Print True
if the password satisfies all the conditions; otherwise, print False
.
Note: The input will be provided via standard input and the output should be sent to standard output.
inputFormat
The input consists of a single line containing the password string.
outputFormat
Output a single line: True
if the password meets all the requirements, or False
otherwise.
Passw0rd!
True