Help write a function in Python called pwd that takes no parameters and:
a) As long as the user does not enter a valid password (see below) and a matching confirmation password:
i) Asks the user to generate a password, indicating that the password must:
(1) Be at least 8 characters long
(2) Contain at least one uppercase AND one lowercase letter
(3) Contain at least one digit
ii) Asks the user to confirm the password a second time
b) Once the user enters and confirms a valid password, the function returns the password