Question
Function: passwordChecker Input(s): (char) a string representing a password Output(s); . (logical) true or false of if the password is strong enough Skills Covered: Masking
Function: passwordChecker Input(s): (char) a string representing a password Output(s); . (logical) true or false of if the password is strong enough Skills Covered: Masking Strings Logical Operators Function Description: It's important to have strong passwords nowadays and most account systems guage the strength of your password upon creation. In this problem, you will create your own simple version of one of these systems. Given an input password, output a single true or false on if it is a strong enough password. A strong password must include ALL of the following: At least one capital letter At least one number At least one special character For our purposes, we will say that a special character is one that is neither a letter nor a number
. Note(s): Note(s): . Remember the input is a string, and there are character representations of numbers. Examples: password1 = 'password12345!!!'; strong Enough1 = passwordChecker (password1) strongEnough1 = logical password2 = 'WhatsTh3goodword?'; strong enough2 = passwordChecker (password2) strong Enough2 = logical 1 password = 'H@!'; strongEnough3 = passwordChecker(password) strongEnough3 =
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