Answer:
any, islower
Step-by-step explanation:
3 islower
The correct code to check whether a string contains at least one lowercase letter is:
valid = False
pw = input("Enter a password: ")
if any(letter.islower() for letter in pw):
valid = True
9.4m questions
12.1m answers