count = 0 password = "7777" while count < 3: user = input() if user == password: print("환영합니다") break else: print("경고") count += 1 if count >= 3: print("접속 차단")
To embed this project on your website, copy the following code and paste it into your website's HTML: