Question: PYTHON: Write a simple function called func_encr( ) which takes any user-inputed password and verifies password length is btwn 8 and 16 alphanumeric characters, includes

PYTHON: Write a simple function called func_encr( ) which takes any user-inputed password and verifies password length is btwn 8 and 16 alphanumeric characters, includes at least 1 lower case letter, 1 upper case letter, number, and special characters (only @, #, $, or %) and it should return a new string with the encrypted version of the user-inputed string. Feel free to use python's built-in function: chr( ) or ord( ). Example: if you use input "Sattwa@2020" (as your password), your function must return "Tyyf|fE7575" as the encrypted code.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!