I was making a password project for school and i got stuck on one problem. Here is the code the isnt working properly:
def passwordStrength(password):
if password.islower():
print("Your password is weak as it only contains lower case letters")
elif password.isupper():
print("Your password is weak as it only contains capital letters")
elif password.isnumeric():
print("Your password is weak as it only contains numbers")
elif password.islower and password.isupper:
print("Your password is medium as it contains no numbers")
elif password.islower and password.isnumeric:
print("Your password is medium as it contains no uppercases")
elif password.isupper and password.isnumeric:
print("Your password is medium as it contains no lowercases")
elif password.islower and password.isupper and password.isnumeric:
print("Your password is strong")
but if i type in a password such as "asasASAS1212" it says it contains no numbers