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

Three kinds of error

  • A syntax error breaks the rules of Python, so the code will not run.
  • A runtime error crashes the program while it is running.
  • A logic error runs fine but gives the wrong answer.
ไทย

ประเภทของข้อผิดพลาดสามชนิด

  • Syntax error (ข้อผิดพลาดทางไวยากรณ์): ขัดกฎของ Python ทำให้โค้ดรันไม่ได้
  • Runtime error (ข้อผิดพลาดขณะรัน): โปรแกรมพังระหว่างที่กำลังทำงานอยู่
  • Logic error (ข้อผิดพลาดทางตรรกะ): รันได้ปกติแต่ให้คำตอบที่ ผิด

Handout · ⁨เอกสารประกอบการเรียน⁩

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

IGCSE, A-Level & AP