Page not loading? Try clicking here.
Placeholder

#9724
Language restricted

파일입출력 - 형성평가 3 1s 32MB

Problems

두 정수와 한 개의 연산자(+, -, *, /, %)를 입력받아 계산식을 출력하는 프로그램을 작성하시오.


Input

"input.txt" 파일의 첫 줄에 두 정수와 한 개의 연산자(+, -, *, /, %)가 들어있다.


Output

"output.txt" 파일의 첫 줄에 계산식을 작성한다.


Example

82 51 +
82 + 51 = 133

Source

자기주도 파이썬 4판

You must sign in to write code.