Question: Problem # 5 : Password Strength Calculator Complete function password _ strength, which takes in one parameter, password, and returns the strength of that password
Problem #: Password Strength Calculator
Complete function passwordstrength, which takes in one parameter, password, and returns the strength of that password as an integer score password is a string made up of determine the score are as follows:
tableFeaturePoints it is Worth
tableStarts with a special character,Starts with an uppercase letter,Starts with a digit,Each letter after index tableEach lowercase letter at or before index including the startingcharacterEach digit at or before index including the starting character,Each digit after index tableEach special character at or tfore index including the startingcharacterEach special character after index
tableFunction Call,Expected Return ValuepasswordstrengthfAAcG'passwordstrengthtXpasswordstrengthWUtHTuN'passwordstrengthfalkjsdfolpasswordstrengthMsq#w&GpMmpasswordstrengthqHJTtgYQpasswordstrengthgwXpasswordstrength@BTJZJpassword strengthpasswordstrengthIfxusalksdfo
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
