PL/Python
파이썬 EOF까지 인풋 받기
SweetDev
2021. 1. 2. 08:13
EOF입력은 파이참에서 command D
sum = 0
while True:
try:
sum += int(input())
except:
print(sum)
break