강의

멘토링

커뮤니티

Inflearn Community Q&A

damonhan7638's profile image
damonhan7638

asked

Introduction to Python for Programming and Data Science

Lab: Condition and Loop #2

continue를 쓰는건 왜인가요?

Written on

·

204

0

print("잘못 입력하셨습니다", "1~9사이의 숫자를 입력해주세요")

continue

갈수록 재미있긴 한데 쉽지 않네요

궁금한게 있는데 여기서 continue는 왜 쓰는건가요?

빼도 돌아가긴 하는거 같아서요

bigdatapython

Answer 1

0

TeamLab님의 프로필 이미지
TeamLab
Instructor

continue는 LOop 중간의 특정 조건의 값을 출력시키지 않거나 코드를 pass할 때 사용합니다.

damonhan7638's profile image
damonhan7638

asked

Ask a question