Write a program that takes in a string as input and evaluates it as a valid password. The password is valid if it has at a minimum 2 numbers, 2 of the following special characters ('!', '@', '#', '$', '%', '&', '*'), and a length of at least 7 characters.
If the password passes the check, output 'Strong', else output 'Weak'.
You can also find by this way:
for i in password:
if i in '!@#$%&*':
if symcount>=2 and numcount>=2 and len(password)>=7: