Page not loading? Try clicking here.
Placeholder

#9369
Language restricted

리스트1 - 형성평가 1 1s 32MB

Problems

최대 100개의 정수를 차례로 입력받다가 -1이 입력되면 입력을 중단하고 -1을 제외한 마지막 세 개의 정수를 출력하는 프로그램을 작성하시오.(입력받은 정수가 3개 미만일 경우에는 모두 출력한다.)


Example

30
20
10
60
80
-1
10 60 80

Source

자기주도 파이썬 4판

You must sign in to write code.