Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started