Question: # -*- 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 =

\# -*- 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!