Skip to content · ⁨Lompat ke konten⁩

← Learn to Code — Python, Java, C, SQL & Web · ⁨Belajar Memrogram — Python, Java, C, SQL & Web⁩

Python Basics

Your very first steps in programming — no experience needed. · ⁨Langkah awal Anda dalam pemrograman — tidak perlu pengalaman.⁩

python 22 Lessons · ⁨Pelajaran⁩

Every lesson runs in your browser — write real code, press Run, and the tasks check themselves. Free, no account needed, with translated notes paired with English. · ⁨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.⁩

Start the course · ⁨Mulai kursus⁩

Lessons in this course · ⁨Pelajaran dalam kursus ini⁩

  1. 00 Run it! · ⁨Jalankan!⁩ 3 required tasks
  2. 01 Your first program · ⁨Program pertamamu⁩ 3 required tasks Video
  3. 02 Variables · ⁨Variabel⁩ 3 required tasks Video
  4. 03 Numbers & operators · ⁨Angka & operator⁩ 3 required tasks Video
  5. 04 Getting input · ⁨Mendapatkan input⁩ 3 required tasks Video
  6. 05 Working with strings · ⁨Bekerja dengan string⁩ 4 required tasks Video
  7. P1 Project: Mad Libs · ⁨Proyek: Mad Libs⁩ Project · ⁨Proyek⁩
  8. 06 Making decisions · ⁨Mengambil keputusan⁩ 4 required tasks Video
  9. 07 Counting loops · ⁨Menghitung loop⁩ 4 required tasks Video
  10. 08 While loops · ⁨Loop While⁩ 3 required tasks Video
  11. P2 Project: Guess the number · ⁨Proyek: Tebak angka⁩ Project · ⁨Proyek⁩
  12. 09 Lists (1-D arrays) · ⁨Daftar (array 1-D)⁩ 3 required tasks Video
  13. P3 Project: Quiz with a score · ⁨Proyek: Kuis dengan skor⁩ Project · ⁨Proyek⁩
  14. 10 Functions · ⁨Fungsi⁩ 3 required tasks Video
  15. P4 Project: Rock, paper, scissors · ⁨Proyek: Batu, kertas, gunting⁩ Project · ⁨Proyek⁩
  16. 11 Scope & arguments · ⁨Skop & argumen⁩ 3 required tasks Video
  17. 12 Dictionaries (records) · ⁨Diksi (rekaman)⁩ 3 required tasks Video
  18. P5 Project: Text adventure · ⁨Proyek: Petualangan teks⁩ Project · ⁨Proyek⁩
  19. 13 Planning & pseudocode · ⁨Perencanaan & pseudocode⁩ 3 required tasks Video
  20. 14 Errors & testing · ⁨Kesalahan & pengujian⁩ 3 required tasks Video
  21. 15 Putting it all together · ⁨Menyatukan semuanya⁩ 3 required tasks Video
  22. P6 Project: Hangman · ⁨Proyek: Hangman⁩ Project · ⁨Proyek⁩
  23. history A short history of Python · ⁨Sejarah singkat Python⁩ Reading and resources
  24. usage What Python is used for · ⁨Apa Python digunakan untuk⁩ Reading and resources
  25. resources Where to learn more · ⁨Di mana untuk belajar lebih lanjut⁩ Reading and resources
  26. setup Set up your computer · ⁨Siapkan komputer Anda⁩ Reading and resources

Language reference · ⁨Referensi Bahasa⁩

/know/reference/python

Log in or create account · ⁨Masuk atau buat akun⁩

IGCSE, A-Level & AP