You will have to put his into a for loop to check for special character and I think you need to make a list with them all in and then test it like that but this is the basic code you need! Replace the print bit with whatever else you need to do!
password = "VerySecurePassw0rd"
if "%" in password:
print( "Your Password has a special character in it!")
if "%" not in password:
print ("Your Password does not have a special character in it!")
EDIT:
Or you could use "else" above
Without using a loop I'm not sure however you could use "elif" but it's not very efficient
password = "VerySecurePassw0rd"
if "%" in password:
print ("Your Password has a special character in it!")
elif "$" in password:
print( "Your Password has a special character in it!")
elif "#" in password:
print ("Your Password has a special character in it!")
You could also try this:
if "%" and "$" in password:
print("Your Password has a 2 special characters in it!")
I think that should work