강좌 정보
파이썬 프로그래밍 기초 커리큘럼 (8주)
[1부] 프로그래밍 사고방식 기르기
1주차: 환경 설정 및 Hello World
파이썬 설치 및 VS Code(또는 Google Colab) 환경 구축
출력문(print)과 주석 작성법
과제: 나에 대한 정보를 출력하는 간단한 자기소개 프로그램 만들기
2주차: 데이터를 담는 바구니 (변수와 자료형)
숫자형, 문자열, 불리언(True/False) 자료형 이해
변수의 개념과 할당
과제: 두 수를 입력받아 사칙연산 결과를 보여주는 계산기 만들기
3주차: 여러 개의 데이터를 한 번에 (리스트와 딕셔너리)
리스트(List), 튜플(Tuple), 딕셔너리(Dictionary)의 특징
데이터 추가, 삭제, 수정하기
과제: 우리 반 학생들의 이름과 점수를 저장하고 관리하는 명부 만들기
[2부] 프로그램의 논리 구조 만들기
4주차: 조건에 따라 행동하기 (조건문)
if, elif, else 문 활용
비교 연산자와 논리 연산자
과제: 점수에 따라 성적(A, B, C)을 자동으로 매기는 프로그램 만들기
5주차: 반복되는 일 자동화하기 (반복문)
for 문과 while 문의 차이
range() 함수와 리스트 내포(Comprehension) 기초
과제: 구구단 출력 프로그램 또는 별 찍기 게임 만들기
[3부] 효율적인 코드 작성과 활용
6주차: 코드의 재사용 (함수)
함수 정의(def)와 호출, 매개변수와 반환값(return)
지역 변수와 전역 변수의 개념
과제: 자주 사용하는 계산 공식(예: BMI 계산기)을 함수로 만들기
7주차: 외부 도구 가져다 쓰기 (모듈과 라이브러리)
import를 통한 표준 라이브러리(math, random, datetime) 활용
외부 패키지 설치 방법 (pip 사용법)
과제: random 모듈을 활용한 가위바위보 또는 로또 번호 생성기 만들기
8주차: 종합 프로젝트 및 오류 수정
예외 처리(try-except)로 프로그램의 안정성 높이기
파일 읽고 쓰기(텍스트 파일 저장)
최종 프로젝트: 지금까지 배운 개념을 모두 활용한 '간단한 연락처 관리 프로그램' 또는 '숫자 맞추기 업다운 게임' 완성
FAQ
댓글 (1)
Python is an interpreted high-level general-purpose programming language. Python's design philosophy emphasizes code readability with its notable use of significant indentation.
Get started learning Python with DataCamp's free Intro to Python tutorial. Learn Data Science by completing interactive coding challenges and watching videos by expert instructors. Start Now!
Before getting started, you may want to find out which IDEs and text editors are tailored to make Python editing easy, browse the list of introductory books, or look at code samples that you might find helpful.
If you want to know whether a particular application, or a library with particular functionality, is available in Python there are a number of possible sources of information.
Will we be able to build applications at the end of this course?
Hi.
Yes you can.