import re

def validPassword(passwod):
	format_upper = re.compile(r'[A-Z].*')
	format_lower = re.compile(r'[a-z].*')
	format_number = re.compile(r'[0-9].*') 	
	if len(password)<8:
		return False
	if not format_number.search(password):
		return False
	if not format_upper.search(password):
		return False
	if not format_lower.search(password):
		return False
	return True

password  = input("Enter password: ")
if validPassword(password):
	print("This is a strong password")
else:
	print("This is not a strong password")

c420dfc33fd315c445d5e5ab0d58fdd5cda74a7b
<mask token>


def validPassword(passwod):
    format_upper = re.compile('[A-Z].*')
    format_lower = re.compile('[a-z].*')
    format_number = re.compile('[0-9].*')
    if len(password) < 8:
        return False
    if not format_number.search(password):
        return False
    if not format_upper.search(password):
        return False
    if not format_lower.search(password):
        return False
    return True


<mask token>

<mask token>


def validPassword(passwod):
    format_upper = re.compile('[A-Z].*')
    format_lower = re.compile('[a-z].*')
    format_number = re.compile('[0-9].*')
    if len(password) < 8:
        return False
    if not format_number.search(password):
        return False
    if not format_upper.search(password):
        return False
    if not format_lower.search(password):
        return False
    return True


<mask token>
if validPassword(password):
    print('This is a strong password')
else:
    print('This is not a strong password')

<mask token>


def validPassword(passwod):
    format_upper = re.compile('[A-Z].*')
    format_lower = re.compile('[a-z].*')
    format_number = re.compile('[0-9].*')
    if len(password) < 8:
        return False
    if not format_number.search(password):
        return False
    if not format_upper.search(password):
        return False
    if not format_lower.search(password):
        return False
    return True


password = input('Enter password: ')
if validPassword(password):
    print('This is a strong password')
else:
    print('This is not a strong password')

import re


def validPassword(passwod):
    format_upper = re.compile('[A-Z].*')
    format_lower = re.compile('[a-z].*')
    format_number = re.compile('[0-9].*')
    if len(password) < 8:
        return False
    if not format_number.search(password):
        return False
    if not format_upper.search(password):
        return False
    if not format_lower.search(password):
        return False
    return True


password = input('Enter password: ')
if validPassword(password):
    print('This is a strong password')
else:
    print('This is not a strong password')

import re

def validPassword(passwod):
	format_upper = re.compile(r'[A-Z].*')
	format_lower = re.compile(r'[a-z].*')
	format_number = re.compile(r'[0-9].*') 	
	if len(password)<8:
		return False
	if not format_number.search(password):
		return False
	if not format_upper.search(password):
		return False
	if not format_lower.search(password):
		return False
	return True

password  = input("Enter password: ")
if validPassword(password):
	print("This is a strong password")
else:
	print("This is not a strong password")
