Page not loading? Try clicking here.
Placeholder

#9716
Language restricted

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

Problems

문자열 두 줄이 저장된 "input.txt" 파일에서 문자열을 입력받아, 순서를 바꿔서 "output.txt" 파일에 출력하는 프로그램을 작성하시오.


Input

"input.txt" 파일에 문자열 두 줄이 들어있다.


Output

"output.txt" 파일에 입력받은 문자열을 순서를 바꿔서 작성한다.


Example

WARNING
Do not feed the animals!
Do not feed the animals!
WARNING


Source

자기주도 파이썬 4판

You must sign in to write code.