We need to create a script that will create multiple users by taking their details as input and keeping the constraints in consideration.
- The information attribute of a user will be Name, Age, Sex, Email, Username and Password.
- Email and Username must be unique.
- Password must contain at least 1 uppercase, 1 lowercase, 1 special character and 1 digit. The minimum length of alphanumeric passwords should be 8.
- A validation must be implemented to prevent repitition of Email and Username. It should ask the user input repeatedly until found unique.
- Details of the each user must be stored in the database.