1) Using a python function, create the following table passing the table's name as a parameter to the function.
Table name: users
Attributes(choose your own attribute types):
firstname
lastname
dateofbirth
contactno
username (primary key)
password (must be encrypted)
securityquestion
securityquestionanswer
2) Using a function, validate the password entered as a parameter to the function.
a) If the password is correct print the firstname, lastname and dateofbirth of the user
b) If the password is incorrect print an error message along with the securityquestion