리스트
-
[Python] 02. 자료형#2코딩(Coding)/Python 공부 2021. 2. 4. 13:45
이 글은 제가 python을 공부하기위해 작성하는 글입니다. python을 어느정도 알고는 있는지만, 기회가 생겨서 같이 공부하는 분께 소개와 함께 자료를 준비한 것을 글로쓰는 것이기 때문에 설명이 누락된 부분이 있을 수 있습니다... wikidocs.net/14 위키독스 온라인 책을 제작 공유하는 플랫폼 서비스 wikidocs.net 리스트 리스트 설명에 앞서 예를 들어보고자 한다. 사용자가 1~5까지의 숫자를 저장해야한다고 하자. 그럼 변수를 num1~num5까지 변수를 생성 할 수 있겠다. 그렇다면 1~10까지는 뭐 조금 귀찮아도 num1~num10까지 하면 생성할 수 있겠다. 그럼 1부터 100까지의 숫자를 저장해야한다면 또 num1~num100이런식으로 생성해야 할까?... 이렇듯 변수들의 모음..