Python Basics
Langkah awal Anda dalam pemrograman — tidak perlu pengalaman.
- python
- 22 Pelajaran
- 6 projects
- 15 videos
- Berjalan di browser Anda
Pada perangkat ini: 0 dari 22 pelajaran diselesaikan
Setiap pelajaran berjalan di browser Anda — tulis kode nyata, tekan Jalankan, dan tugas memeriksa dirinya sendiri. Gratis, tidak perlu akun, dengan catatan terjemahan yang dipasangkan dengan bahasa Inggris.
Pelajaran dalam kursus ini
26 dari 26 pelajaran ditampilkan
Tidak ada pelajaran yang cocok. Hapus pencarian atau pilih filter lain.
Part 1 You build: Project: Mad Libs
- Jalankan! Tombol-tombol · Ketika terjadi kesalahan · Ketika program menunggu Anda Lesson 0 · tugas yang di 3 · ★
- Program pertamamu Show text with print · Strings · Comments Lesson 1 · tugas yang di 3 · ★ Video
- Variabel A box with a name · Make a variable · Naming rules · Change a variable Lesson 2 · tugas yang di 3 · ★ Video
- Angka & operator Two kinds of number · Add, subtract, multiply, divide · Whole-number division, remainder, powers · Order of operations Lesson 3 · tugas yang di 3 · ★ Video
- Mendapatkan input Ask the user with input · When your program waits · input always gives a string · Turn text into a number Lesson 4 · tugas yang di 3 · ★ Video
- Bekerja dengan string Letters have positions · Take a slice · Length and changing case · f-strings build text Lesson 5 · tugas yang di 4 · ★★ Video
- Proyek Project: Mad Libs Collect the words · Change a word · A title with a line under it Proyek · ★★
Part 2 You build: Project: Guess the number
- Mengambil keputusan Making a choice · Comparisons · if / elif / else · The remainder Lesson 6 · tugas yang di 4 · ★★ Video
- Menghitung loop Repeat with for · Counting with range · Build a total (accumulator) · Words and a number on one line Lesson 7 · tugas yang di 4 · ★★ Video
- Loop While Loop while a condition is true · Always change the condition · break and continue · Checking before or after Lesson 8 · tugas yang di 3 · ★★ Video
- Proyek Project: Guess the number One guess · Keep guessing · Print the count · The sentence Proyek · ★★★
Part 3 You build: Project: Quiz with a score
Part 4 You build: Project: Rock, paper, scissors
Part 5 You build: Project: Text adventure
- Skop & argumen Local variables · Global variables · Default values · How arguments are passed Lesson 11 · tugas yang di 4 · ★★★ Video
- Dictionaries (records) Store data by name · Get and set values · A dictionary as a record · Check and loop Lesson 12 · tugas yang di 3 · ★★★ Video
- Proyek Project: Text adventure A dictionary inside a dictionary · Is there a door? · Follow a list of directions · Play for real Proyek · ★★★★
Part 6 You build: Project: Hangman
- Perencanaan & pseudocode Plan before you code · Decomposition · Abstraction · Structured English Lesson 13 · tugas yang di 3 · ★★ Video
- Kesalahan & pengujian Three kinds of error · Syntax errors · Runtime errors · Logic errors Lesson 14 · tugas yang di 3 · ★★★ Video
- Menyatukan semuanya The plan · Handy built-ins for lists · A pattern you will reuse: count items that pass a test Lesson 15 · tugas yang di 3 · ★★★ Video
- Proyek Project: Hangman Plan first · Build a string letter by letter · Stop as soon as you know · The game loop Proyek · ★★★★
Pembacaan dan sumber daya
- Sejarah singkat Python Where Python came from · Why the funny name · Built for people to read · Python today Pembacaan dan sumber daya
- Apa Python digunakan untuk What people build with Python · Websites and apps · Data, AI, and science · Automation Pembacaan dan sumber daya
- Di mana untuk belajar lebih lanjut Bermain dan berlatih · Baca dan rujuk · Kursus lain di situs ini · Tips Pembacaan dan sumber daya
- Siapkan komputer Anda Run Python on your own computer · Step 1 — Install Python · Step 2 — Install VS Code · Step 3 — Add the Python extension Pembacaan dan sumber daya
Open the Python reference
Every topic in one place, with short examples you can run.
Di mana untuk belajar lebih lanjut
- freeCodeCamp — Pelajari Python Sertifikasi Python gratis dan praktis
- PyChallenger Pelajari Python dengan memecahkan tantangan kecil-kecil
- CodeCombat Belajar coding dengan bermain game sungguhan
- Tutorial Resmi Python Pengenalan langkah demi langkah yang jelas dan gratis dari python.org
- Python for Everybody (kursus gratis) Kursus pemula favorit oleh Dr. Chuck
- Visual Studio Code Editor gratis untuk menulis Python di komputer Anda sendiri
- A-Level Computer Science (situs ini) Maju lebih jauh dengan Python, menuju ujian Cambridge
- AP CS Principles (situs ini) Gagasan-gagasan besar komputasi, dalam Python