Question: Exercise 3: Validating a Password Function Create a Python program that asks a user to create a password and then validates that the password meets
Exercise 3: Validating a Password Function
Create a Python program that asks a user to create a password and then validates that the password meets the following criteria:
- At least one uppercase letter.
- At least one lowercase letter.
- At least one number (0-9).
- At least one special character but only using the following (#$@).
Be sure the validation part of the program is written as a function and called from within the program. Since you have written this is a function, the password validation tool can be placed in many other programs, as needed.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
