Skip to content · ⁨ข้ามไปยังเนื้อหา⁩

← Learn to Code — Python, Java, C, SQL & Web · ⁨เรียนรู้การเขียนโค้ด — Python, Java, C, SQL & Web⁩

Python Basics

Your very first steps in programming — no experience needed. · ⁨ก้าวแรกของคุณในการเขียนโปรแกรม — ไม่ต้องมีประสบการณ์มาก่อน.⁩

python 22 Lessons · ⁨บทเรียน⁩

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. · ⁨ทุกบทเรียนทำงานบนเบราว์เซอร์ของคุณ — เขียนโค้ดจริง กด Run และงานจะตรวจสอบตัวเองอัตโนมัติ ฟรี ไม่ต้องสมัครบัญชี พร้อมบันทึกคำแปลคู่กับภาษาอังกฤษ⁩

Start the course · ⁨เริ่มหลักสูตร⁩

Lessons in this course · ⁨บทเรียนในหลักสูตรนี้⁩

  1. 00 Run it! · ⁨รันเลย!⁩ 3 required tasks
  2. 01 Your first program · ⁨โปรแกรมแรกของคุณ⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  3. 02 Variables · ⁨ตัวแปร⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  4. 03 Numbers & operators · ⁨ตัวเลขและตัวดำเนินการ⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  5. 04 Getting input · ⁨การรับข้อมูลเข้า⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  6. 05 Working with strings · ⁨การทำงานกับสตริง⁩ 4 required tasks Video · ⁨วิดีโอ⁩
  7. P1 Project: Mad Libs · ⁨โปรเจกต์: Mad Libs⁩ Project · ⁨โปรเจกต์⁩
  8. 06 Making decisions 4 required tasks Video · ⁨วิดีโอ⁩
  9. 07 Counting loops · ⁨วนซ้ำแบบนับจำนวน⁩ 4 required tasks Video · ⁨วิดีโอ⁩
  10. 08 While loops · ⁨ลูป while⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  11. P2 Project: Guess the number · ⁨โปรเจกต์:ทายตัวเลข⁩ Project · ⁨โปรเจกต์⁩
  12. 09 Lists (1-D arrays) · ⁨ลิสต์ (1-D arrays)⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  13. P3 Project: Quiz with a score Project · ⁨โปรเจกต์⁩
  14. 10 Functions 3 required tasks Video · ⁨วิดีโอ⁩
  15. P4 Project: Rock, paper, scissors Project · ⁨โปรเจกต์⁩
  16. 11 Scope & arguments 3 required tasks Video · ⁨วิดีโอ⁩
  17. 12 Dictionaries (records) 3 required tasks Video · ⁨วิดีโอ⁩
  18. P5 Project: Text adventure Project · ⁨โปรเจกต์⁩
  19. 13 Planning & pseudocode 3 required tasks Video · ⁨วิดีโอ⁩
  20. 14 Errors & testing 3 required tasks Video · ⁨วิดีโอ⁩
  21. 15 Putting it all together 3 required tasks Video · ⁨วิดีโอ⁩
  22. P6 Project: Hangman Project · ⁨โปรเจกต์⁩
  23. history A short history of Python · ⁨ประวัติสั้นๆ ของ Python⁩ Reading and resources
  24. usage What Python is used for Reading and resources
  25. resources Where to learn more · ⁨แหล่งเรียนรู้เพิ่มเติม⁩ Reading and resources
  26. setup Set up your computer · ⁨ตั้งค่าคอมพิวเตอร์ของคุณ⁩ Reading and resources

Language reference · ⁨อ้างอิงภาษา⁩

/know/reference/python

Log in or create account · ⁨เข้าสู่ระบบหรือสร้างบัญชี⁩

IGCSE, A-Level & AP