728x90 반응형 while1 [Python] while statement, break and continue Python의 경우, loop structure로 while statement와 for statement를 제공한다.Contol Flow와 Control Structure에 대한 개념은 다음 URL을 참고 :http://ds31x.blogspot.com/2023/07/basic-control-structures-and-control.html참고로 do-while statement 는 while statement 만으로도 구현가능하기 때문에 Python에선 지원하지 않음. for statement가 iterator object와 함께 사용되는 것과 달리,while statement는 if statement와 매우 유사한 구조로 repetition을 가능하게 함.일반적인 구조.while condition: .. 2023. 7. 28. 이전 1 다음 728x90 반응형