초간단 2인로그인
id="chl844"
pw= "11"
id1="a844"
pw1="chl"
a=input("아이디를 입력해주세요: ")
b=input("비밀번호를 입력해주세요:")
if id == a and pw==b or a==id1 and pw1==b:
print("정삭적으로 로그인 되었습니다.")
else :
print("아이디와 비밀번호를 다시확인해주세요.")
Id = input("아이디를 써주세요.\n")
Pw = input("비밀번호를 써주세요.\n")
Real_shid = "rlatjdgus"
Real_shpw = "DarkBro22@"
Real_hsid = "2003"
Real_hspw = "rlatjdgus"
if Id == Real_shid and Real_shpw == Pw:
print("Hello")
elif Id == Real_hsid and Real_hspw == Pw:
print("Hello")
else:
print("Wrong Id or Pw")
로 한번 2인용 로그인 시스템을 만들어보았슴미다 ㅎㅎ