etc/Coding Test

[codeup] 83. 0 입력될 때까지 무한 출력하기

Jun's N 2021. 12. 13. 00:53
n = 1      
while n!=0 :
  n = int(input())
  if n!=0 :
    print(n)
728x90