頁面無法載入?點擊這裡可能會修復。
Placeholder

#9718
語言限制

파일입출력 - 연습문제 6 1s 32MB

問題

100줄 이하의 문장이 저장된 "input.txt" 파일에서 모든 문장을 입력받아, 그대로 화면에 출력하는 프로그램을 작성하시오.


輸入

"input.txt" 파일에 100줄 이하의 문장이 들어있다.


輸出

표준출력으로 파일의 모든 문장을 입력받아 그대로 출력한다.


範例

You raise me up, so I can stand on mountains
You raise me up, to walk on stormy seas
I am strong, when I am on your shoulders
You raise me up to more than I can be
You raise me up, so I can stand on mountains
You raise me up, to walk on stormy seas
I am strong, when I am on your shoulders
You raise me up to more than I can be

來源

자기주도 파이썬 4판

需要登入才能撰寫程式碼。