[python] EOFError

김보현·2024년 7월 22일
0

PS

목록 보기
55/62

EOFError: End Of File로 python input이 끝날때 까지 받고 종료하는 조건이다.

while 1:
    try:
        print(input())
    except EOFError:
        break

백준 11719번

profile
Fall in love with Computer Vision

0개의 댓글

관련 채용 정보