코딩 스쿨에 오신것을 환영합니다~~

Q96. 200~600의 수 중 3의 배수가 아닌 수를 실행 결과와 같이 출력하는 프로그램을 작성하시오. 단, 한 줄에 8개씩 출력한다.(while) (200점)

i = 200
count = 1
while i < 601 :
    if _______________ != 0 :
        print("%d " % i, end="")
        count = count + 1
        if ____________ == 0 :
            print()
    i = i + 1

- 난이도(1~10) : 2

- 힌트 : 없음

  • - 실행 결과
  • 200 202 203 205 206 208 209 211 
    212 214 215 217 218 220 221 223 
    224 226 227 229 230 232 233 235 
    ...
    584 586 587 589 590 592 593 595 
    596 598 599 
정답보기 목록보기 완료/포인트얻기

i = 200
count = 1
while i < 601 :
    if i % 3 != 0 :
        print("%d " % i, end="")
        count = count + 1
        if count % 8 == 0 :
            print()
    i = i + 1