#K68077. Strong Password Generator
Strong Password Generator
Strong Password Generator
Your task is to generate a strong password of length \(L\) that satisfies all of the following conditions:
- The password must be exactly \(L\) characters long.
- It must contain at least one lowercase letter.
- It must contain at least one uppercase letter.
- It must contain at least one digit.
- It must contain at least one special character (punctuation) from the standard set.
- The password must not contain any spaces.
You can assume that the input will always satisfy \(4 \le L \le 100\). If the input is outside this range, your program should output an error message: "Password length must be between 4 and 100."
inputFormat
The input consists of a single integer \(L\) (with \(4 \le L \le 100\)) which indicates the desired length of the password.
outputFormat
Output a string representing the generated strong password. The password must strictly meet the criteria described above. In case the input \(L\) is invalid (i.e., less than 4 or greater than 100), output the error message "Password length must be between 4 and 100.".
## sample8
Ab1@Cd2!