2
AssignmentDropdown

Write Password Evaluator

Question 2 • Introduction to Computer Science B – 4-232

You wrote a program to determine if a password contained a numeric character. password = input("Password? ") hasNumber = False for character in password: if character.isdigit(): hasNumber = True break Finish the code that is a shorter alternate.

Answer

Correct Answer:

any

Previous
Next