본문 바로가기
Python/CodeUp

1071 - 0 입력될 때까지 무한 출력하기1

by GLOWWW 2021. 2. 19.
nums = input().split()

for num in nums:
    if int(num) == 0:
        break
    print(num)

댓글