asked
Introduction to Python for Programming and Data Science
Lab: Condition and Loop #2
Written on
·
204
0
print("잘못 입력하셨습니다", "1~9사이의 숫자를 입력해주세요")
continue
갈수록 재미있긴 한데 쉽지 않네요
궁금한게 있는데 여기서 continue는 왜 쓰는건가요?
빼도 돌아가긴 하는거 같아서요
Answer 1
continue는 LOop 중간의 특정 조건의 값을 출력시키지 않거나 코드를 pass할 때 사용합니다.