본문 바로가기
코딩 배우기 — Python, Java, C, SQL & 웹 개발

Python Basics

프로그래밍 첫걸음 — 경험 불필요.

  • 캐임브리지
  • 22 수업
  • 6 projects
  • 15 videos
  • 브라우저에서 실행

이 기기: 0/22 수업 완료

과정 시작

모든 수업은 브라우저에서 실행됩니다 — 실제 코드를 작성하고 '실행' 버튼을 누르면 과제가 자동 점검합니다. 무료이며 계정 없이 이용 가능하며, 영문과 짝지어진 번역 메모가 제공됩니다.

이 과정의 수업

26/26 수업 표시됨

Part 1 You build: Project: Mad Libs

  1. 실행! 버튼들 · 오류 발생 시 · 프로그램이 사용자를 기다릴 때 Lesson 0 · 3 필수 과제들 · ★
  2. 첫 번째 프로그램 Show text with print · Strings · Comments Lesson 1 · 3 필수 과제들 · ★ 영상
  3. 변수 A box with a name · Make a variable · Naming rules · Change a variable Lesson 2 · 3 필수 과제들 · ★ 영상
  4. 숫자 및 연산자 Two kinds of number · Add, subtract, multiply, divide · Whole-number division, remainder, powers · Order of operations Lesson 3 · 3 필수 과제들 · ★ 영상
  5. 입력 받기 Ask the user with input · When your program waits · input always gives a string · Turn text into a number Lesson 4 · 3 필수 과제들 · ★ 영상
  6. 문자열 조작 Letters have positions · Take a slice · Length and changing case · f-strings build text Lesson 5 · 4 필수 과제들 · ★★ 영상
  7. 프로젝트 Project: Mad Libs Collect the words · Change a word · A title with a line under it 프로젝트 · ★★

Part 2 You build: Project: Guess the number

  1. 결론 내리기 Making a choice · Comparisons · if / elif / else · The remainder Lesson 6 · 4 필수 과제들 · ★★ 영상
  2. 카운팅 루프 Repeat with for · Counting with range · Build a total (accumulator) · Words and a number on one line Lesson 7 · 4 필수 과제들 · ★★ 영상
  3. While 루프 Loop while a condition is true · Always change the condition · break and continue · Checking before or after Lesson 8 · 3 필수 과제들 · ★★ 영상
  4. 프로젝트 Project: Guess the number One guess · Keep guessing · Print the count · The sentence 프로젝트 · ★★★

Part 3 You build: Project: Quiz with a score

  1. Lists (1-D arrays) A list holds many values · Get and change items · Add items and count them · Loop over a list Lesson 9 · 3 필수 과제들 · ★★ 영상
  2. 프로젝트 Project: Quiz with a score Two lists that match · Keep the score · Forgive the typing 프로젝트 · ★★★

Part 4 You build: Project: Rock, paper, scissors

  1. 함수 Name a block of code · Give it inputs (parameters) · Send back a result (return) · return vs print Lesson 10 · 3 필수 과제들 · ★★ 영상
  2. 프로젝트 Project: Rock, paper, scissors Who wins? · Functions can use functions · Check what the player typed · Play for real 프로젝트 · ★★★

Part 5 You build: Project: Text adventure

  1. 스코프 & arguments Local variables · Global variables · Default values · How arguments are passed Lesson 11 · 4 필수 과제들 · ★★★ 영상
  2. Dictionaries (records) Store data by name · Get and set values · A dictionary as a record · Check and loop Lesson 12 · 3 필수 과제들 · ★★★ 영상
  3. 프로젝트 Project: Text adventure A dictionary inside a dictionary · Is there a door? · Follow a list of directions · Play for real 프로젝트 · ★★★★

Part 6 You build: Project: Hangman

  1. 계획 및 가짜 코드 Plan before you code · Decomposition · Abstraction · Structured English Lesson 13 · 3 필수 과제들 · ★★ 영상
  2. 오류 및 테스트 Three kinds of error · Syntax errors · Runtime errors · Logic errors Lesson 14 · 3 필수 과제들 · ★★★ 영상
  3. 모아보기 The plan · Handy built-ins for lists · A pattern you will reuse: count items that pass a test Lesson 15 · 3 필수 과제들 · ★★★ 영상
  4. 프로젝트 Project: Hangman Plan first · Build a string letter by letter · Stop as soon as you know · The game loop 프로젝트 · ★★★★

독해 및 자료

  1. Python의 짧은 역사 Where Python came from · Why the funny name · Built for people to read · Python today 독해 및 자료
  2. Python의 활용 분야 What people build with Python · Websites and apps · Data, AI, and science · Automation 독해 및 자료
  3. 더 배우는 곳 실습 및 연습 · 참고 및 읽기 · 이 사이트의 추가 과정 · 팁 독해 및 자료
  4. 컴퓨터 설정하기 Run Python on your own computer · Step 1 — Install Python · Step 2 — Install VS Code · Step 3 — Add the Python extension 독해 및 자료
Open the Python reference Every topic in one place, with short examples you can run.

더 배우는 곳

로그인 또는 계정 만들기

IGCSE, A-Level & AP