Python Basics
プログラミングへの最初のステップ — 経験不要。
- python
- 22 レッスン
- 6 projects
- 15 videos
- ブラウザ内で動作
このデバイス: 0 / 22 課題完了
全レッスンはブラウザ内で実行され、実際のコードを記述し、「実行」ボタンを押すだけでタスクが自己確認を行う。無料であり、アカウント不要。翻訳付きメモが英語とペアになっている。
このコースのレッスン
表示されたlesson のうち 26 件中 26 件
一致するレッスンが見つかりません。検索をクリアするか、別のフィルターを選択してください。
Part 1 You build: Project: Mad Libs
- 実行! ボタンの使い方 · エラーが発生した時 · プログラムが入力を待っている時 Lesson 0 · 3必須タスク · ★
- あなたの最初のプログラム Show text with print · Strings · Comments Lesson 1 · 3必須タスク · ★ 動画
- 変数 A box with a name · Make a variable · Naming rules · Change a variable Lesson 2 · 3必須タスク · ★ 動画
- 数と演算子 Two kinds of number · Add, subtract, multiply, divide · Whole-number division, remainder, powers · Order of operations Lesson 3 · 3必須タスク · ★ 動画
- 入力の取得 Ask the user with input · When your program waits · input always gives a string · Turn text into a number Lesson 4 · 3必須タスク · ★ 動画
- 文字列の操作 Letters have positions · Take a slice · Length and changing case · f-strings build text Lesson 5 · 4必須タスク · ★★ 動画
- プロジェクト Project: Mad Libs Collect the words · Change a word · A title with a line under it プロジェクト · ★★
Part 2 You build: Project: Guess the number
- 判断の作成 Making a choice · Comparisons · if / elif / else · The remainder Lesson 6 · 4必須タスク · ★★ 動画
- カウントループ Repeat with for · Counting with range · Build a total (accumulator) · Words and a number on one line Lesson 7 · 4必須タスク · ★★ 動画
- Whileループ Loop while a condition is true · Always change the condition · break and continue · Checking before or after Lesson 8 · 3必須タスク · ★★ 動画
- プロジェクト Project: Guess the number One guess · Keep guessing · Print the count · The sentence プロジェクト · ★★★
Part 3 You build: Project: Quiz with a score
Part 4 You build: Project: Rock, paper, scissors
Part 5 You build: Project: Text adventure
- スコープと引数 Local variables · Global variables · Default values · How arguments are passed Lesson 11 · 4必須タスク · ★★★ 動画
- Dictionaries (records) Store data by name · Get and set values · A dictionary as a record · Check and loop Lesson 12 · 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
- 計画と擬似コード Plan before you code · Decomposition · Abstraction · Structured English Lesson 13 · 3必須タスク · ★★ 動画
- エラーとテスト Three kinds of error · Syntax errors · Runtime errors · Logic errors Lesson 14 · 3必須タスク · ★★★ 動画
- 統合する The plan · Handy built-ins for lists · A pattern you will reuse: count items that pass a test Lesson 15 · 3必須タスク · ★★★ 動画
- プロジェクト Project: Hangman Plan first · Build a string letter by letter · Stop as soon as you know · The game loop プロジェクト · ★★★★
読書とリソース
- Pythonの短い歴史 Where Python came from · Why the funny name · Built for people to read · Python today 読書とリソース
- What Python is used for What people build with Python · Websites and apps · Data, AI, and science · Automation 読書とリソース
- さらに学ぶ場所 遊びながら学ぶ · 読み物・リファレンス · このサイトでの他のコース · ポイント 読書とリソース
- コンピュータをセットアップする 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.
さらに学ぶ場所
- freeCodeCamp — Learn Python 無料の実践的なPython認定
- PyChallenger 小規模なチャレンジを解いてPythonを学ぶ
- CodeCombat 実際のゲームをプレイしながらコーディングを学ぶ
- 公式Pythonチュートリアル python.orgによる明確で無料の段階別入門
- Python for Everybody (無料コース) Chuck博士による愛される初心者向けコース
- Visual Studio Code ローカルコンピュータでPythonを書くための無料エディタ
- A-Level Computer Science (このサイト) Cambridge試験に向けてPythonをさらに進める
- AP CS Principles(このサイト) 計算の主要なアイデア、Pythonで