Question: This is a python problem. A. (15 points) Password Safety The University of Minnesota issues the following requirements for choosing a password -The password should

 This is a python problem. A. (15 points) Password Safety The

This is a python problem.

A. (15 points) Password Safety The University of Minnesota issues the following requirements for choosing a password -The password should be at least 16 characters long -The first character must be a letter It must contain at least 2 alphabetic characters, at least 1 of which must be uppercase A-Z -It cannot share three or more consecutive letters in common with the username Note that the three consecutive letters referred to above must be consecutive in both the password and username to be considered a match. Also note that this matching should be case sensitive: "Abc" and "abc" would not be considered to be three consecutive letters in common. Write a function called issecure that takes two input parameters. The first one, a string of the password, and the second, a string of the user's name. The function should return a Boolean value which should be True if the password meets the above guidelines. issecure ("I love cheese sauce!", "Jenna Oh") Returns True isSecure("I love cheese!", "Omar olsen" sSecure ("Oh man, cheese is great!", "Amanda") Returns False issecure ( " P3 . 141592653589793238462", "Zelda") #Returns False #Re turns False You may assume that the input value used to test your function is a string with zero or more characters Hint: Checking all of the requirements is tricky. Just focus on the easy ones first

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!