Password = "Pass123!"
length_count = 0
special_count = 0
num_count = 0
if len(Password) >= 8:
length_count = 1
for p in Password:
if p.isdigit():
num_count = 1
elif not p.isalnum():
special_count = 1
if length_count >= 1 and special_count >= 1 and num_count >= 1:
print("Strong")
else:
print("Not Strong")
To embed this project on your website, copy the following code and paste it into your website's HTML: