コンテンツへスキップ
プログラミング学習 — Python, Java, C, SQL & Web

Python Basics

プログラミングへの最初のステップ — 経験不要。

  • python
  • 22 レッスン
  • 6 projects
  • 15 videos
  • ブラウザ内で動作

このデバイス: 0 / 22 課題完了

コース開始

全レッスンはブラウザ内で実行され、実際のコードを記述し、「実行」ボタンを押すだけでタスクが自己確認を行う。無料であり、アカウント不要。翻訳付きメモが英語とペアになっている。

このコースのレッスン

表示されたlesson のうち 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. スコープと引数 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. What Python is used for 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