1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # # µû¶óÇÏ¸ç ¹è¿ì´Â ÆÄÀ̽ã°ú µ¥ÀÌÅÍ°úÇÐ(»ý´ÉÃâÆÇ»ç 2020) # LAB 9-7 Æнº¿öµå °Ë»ç ÇÁ·Î±×·¥À» ¸¸µéÀÚ, 241ÂÊ # import re while True: password = input("Æнº¿öµå¸¦ ÀÔ·ÂÇϼ¼¿ä : "); if len(password)<8 or not re.search("[a-z]", password) or \ not re.search("[A-Z]", password) or \ not re.search("[0-9]", password) or not re.search("[_@$!]", password): print("À¯È¿ÇÏÁö ¾ÊÀº Æнº¿öµå!") else: print("À¯È¿ÇÑ Æнº¿öµå") break | cs |