Answered step by step
Verified Expert Solution
Question
1 Approved Answer
# -*- coding: cp1252 -*- import inspector while True: userinput = input (Give a string for testing: ) tulos = inspector.testme(userinput) if tulos == True:
\# -*- coding: cp1252 -*- import inspector while True: userinput = input ("Give a string for testing: ") tulos = inspector.testme(userinput) if tulos == True: print ("This string fits for a password!") break else: print("The module says no.") has both numbers and letters, it should be accepted. In this case the module should return True. When the program works correctly, it prints the following: Example output: Give a string for testing: password The module says no. Give a string for testing: Pass 12 word 34 This string fits for a password! The verification of program output does not account for whitespace and is not case-sensitive (the least strict comparison level)
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