Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
학습 내용 요약
기타 제어 흐름 도구에 관한 내용을 학습하였다. if문, 반복문, match 문을 공부하였고, 함수를 정의하는 방법과 독스트링을 첨부하는 방법에 대해 학습했다. 그 과정에서 튜플, 딕셔너리 등에 따라 달라지는 문법을 알았고, 위치 인자와 키워드 인자의 차이점에 대해 인지하였다.
핵심 개념
반복문 자체에서도 else 문을 사용할 수 있고, break 문이 중간에 포함되지 않으면 마지막엔 else 문이 반드시 실행된다.
위치 인자와 키워드 인자는 순서와 / , * 와 같은 기호로 구별할 수 있다.
인자 목록의 패킹과 언 패킹에서도 위치 인자와 키워드 인자 구별로 인해 * 갯수가 다르다는 점.
실습 예제
개념을 정리한 md 파일에 예제 코드를 첨부함.
참고 자료
https://easyjwork.tistory.com/9
https://easyjwork.tistory.com/10
https://devpouch.tistory.com/70
https://miny-genie.tistory.com/179
https://wikidocs.net/22799
https://python101.tistory.com/entry/%ED%8C%8C%EC%9D%B4%EC%8D%ACPython%EC%9D%98-%EC%9E%84%EC%9D%98%EC%9D%98-%EC%9D%B8%EC%9E%90%EB%AA%A9%EB%A1%9Dvariadic-arguments-%EC%97%90-%EB%8C%80%ED%95%B4%EC%84%9C
https://wikidocs.net/22801
체크리스트