fork(5) download
  1. input_id = input("아이디를 입력해주세요.\n")
  2. real_id = "egoing"
  3. real_pwd = "11"
  4. if real_id == input_id:
  5. input_pwd = input("비밀번호를 입력해주세요.\n")
  6. if real_pwd == input_pwd:
  7. print("hello!")
  8. else:
  9. print("잘못된 비밀번호입니다.")
  10. else:
  11. print("잘못된 아이디입니다.")
  12.  
Runtime error #stdin #stdout #stderr 0.03s 9984KB
stdin
Standard input is empty
stdout
아이디를 입력해주세요.
stderr
Traceback (most recent call last):
  File "./prog.py", line 1, in <module>
EOFError: EOF when reading a line