Answered step by step
Verified Expert Solution
Question
1 Approved Answer
python program using while loop and if statement and return a boolean value Practice string indexing. Imagine you are developing a software package for RainForest.com
python program using while loop and if statement and return a boolean value
Practice string indexing. Imagine you are developing a software package for RainForest.com that requires users to enter their own passwords. Your software requires that users' password meet the following criteria: The password should be at least six characters long. . The password should contain at least one uppercase and at least one lowercase letter. . The password should have at least one digit. Write a function to determine whether a given password meets the criteria. The function shall be named isverified and has a string parameter representing a password. It returns a Boolean value; True if the passed-in password meets the desired criteria, False otherwise. For example, calling isVerified ("python"), callers should receive False. However, isverified("Python3") should return True. After function design, continue to write code to interact with users for determining whether an entered password can meet the desired criteria by using your defined isVerified function. Your he user-interaction code shall prompt for a string and then display a message reporting whether t entered string meets the password criteria. Function specifications: . Function name o isVerified Input parameter o A string . return value o a Boolean value User interface specifications: . Input The program prompts for a string . Output Display a message to report whether the entered string the entered string meets the password criteria oStep 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