Python 유저를 위한 유용한 문법 자료 공유 (for-else, while-else) #114
sinb57
started this conversation in
문제 같이 풀어요~
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
python
에서는for-else
와while-else
문법을 제공합니다!!for-else
와while-else
에서else
로직이 실행되는 조건은반복문이 실행 도중에 break 되지 않고 정상적으로 종료되었을 경우입니다!!
예시
Beta Was this translation helpful? Give feedback.
All reactions