This week's leaderboard 🥇ก้อย⭐ 7,658 🥈mahatup⭐ 6,846 🥉ParTong⭐ 4,481 1 days left Until exam dayTOEIC 1 days left Until exam dayCU-TEP 1 days left Until exam dayTU-GET 2 days left Until exam dayนายสิบตำรวจ 9 days left Until exam dayนักเรียนเตรียมทหาร (ทบ. ทร. ทอ. ตร.) 9 days left Until exam dayJLPT ภาษาญี่ปุ่น 10 days left Until exam dayสอบเข้า ม.1 14 days left Until exam dayใบประกอบวิชาชีพเภสัชกรรม Congratulations! ก้อย scored a perfect 100% on the “EP09 ขั้นกว่า ขั้นสุด Comparative/Superlative (-er -est · m…” quiz 🎉 19 hours ago Congratulations! ก้อย scored a perfect 100% on the “EP06 Past Simple Tense (เติม -ed · กริยาไม่ปกติ · did + V1)…” quiz 🎉 22 hours ago Congratulations! ก้อย scored a perfect 100% on the “EP05 Present Continuous Tense (am is are + V-ing · การเติม …” quiz 🎉 22 hours ago Congratulations! Anonymous scored a perfect 100% on the “ชุดที่ 17 · ภาษาอังกฤษ | Grammar & Structure (50 ข้อ)” quiz 🎉 1 days ago Congratulations! mahatup scored a perfect 100% on the “EP.09 ตำแหน่งและอันดับที่” quiz 🎉 1 days ago Congratulations! mahatup scored a perfect 100% on the “EP.08 การวัดน้ำหนัก” quiz 🎉 1 days ago Congratulations! mahatup scored a perfect 100% on the “EP.07 แผนภูมิรูปภาพ” quiz 🎉 1 days ago Congratulations! อย่ากโดดเด่น scored a perfect 100% on the “EP02 หลักธรรมสำคัญ (เบญจศีล–เบญจธรรม · พรหมวิหาร 4 · อิทธิบ…” quiz 🎉 1 days ago Congratulations! ก้อย scored a perfect 100% on the “EP03 Verb to be และ There is/There are (am is are · was wer…” quiz 🎉 1 days ago Congratulations! ก้อย scored a perfect 100% on the “EP10 อาเซียนและตะลุยข้อสอบรวม (สมาชิก 11 ประเทศ · 3 เสาหลัก…” quiz 🎉 1 days ago Congratulations! mahatup scored a perfect 100% on the “EP.05 การบวกที่ผลบวกไม่เกิน 20” quiz 🎉 1 days ago 👑 Congratulations! Torfunny ride pony. scored a perfect 100% on the “ชุดที่ 1 · เชาวน์ปัญญา: ทักษะการสังเกต (ภาพต่าง เงา ภาพเหมื…” mock exam 🎉 1 days ago Congratulations! mahatup scored a perfect 100% on the “EP.03 การลบที่ตัวตั้งไม่เกิน 10” quiz 🎉 2 days ago Congratulations! mahatup scored a perfect 100% on the “ชุดที่ 1 · เชาวน์ปัญญา: ทักษะการสังเกต (ภาพต่าง เงา ภาพเหมื…” mock exam 🎉 2 days ago Congratulations! mahatup scored a perfect 100% on the “EP.01 จำนวนนับ 1–10 และ 0” quiz 🎉 2 days ago Congratulations! อย่ากโดดเด่น scored a perfect 100% on the “EP01 การจำแนกสิ่งมีชีวิต (สัตว์มีกระดูกสันหลัง 5 กลุ่ม · แม…” quiz 🎉 2 days ago Congratulations! ก้อย scored a perfect 100% on the “EP02 เศษส่วน (ทอนอย่างต่ำ · บวก ลบ คูณ หาร · จำนวนคละ · โจท…” quiz 🎉 3 days ago Congratulations! ก้อย scored a perfect 100% on the “EP03 อาหารหลัก 5 หมู่ และระบบย่อยอาหาร (สารอาหาร 6 ประเภท ·…” quiz 🎉 3 days ago Congratulations! Anonymous scored a perfect 100% on the “ชุดที่ 14 · วิทยาศาสตร์ | โลก ดาราศาสตร์ และอวกาศ: หิน ลมฟ้…” quiz 🎉 4 days ago Congratulations! Anonymous scored a perfect 100% on the “ชุดที่ 18 · ภาษาอังกฤษ | Reading: ป้าย ประกาศ ตาราง และเรื่…” quiz 🎉 4 days ago

EP.09 Python: ฟังก์ชัน และการตรวจหาข้อผิดพลาด (20 ข้อ)

⏱️ Realistic mock exam, 40-minute timer
🔒

This set is for those with access to this question set

Buy the exam drill set, or a prep course that includes it, for unlimited attempts

View pricing and access
About this set

การนิยามและเรียกใช้ฟังก์ชัน return พารามิเตอร์ค่าเริ่มต้น การส่งอาร์กิวเมนต์โดยระบุชื่อ ตัวแปรเฉพาะที่ ฟังก์ชันเรียกตัวเอง ประเภทข้อผิดพลาด NameError TypeError ValueError IndexError ZeroDivisionError การแก้ข้อผิดพลาดเชิงตรรกะ และ try except พร้อมภาพโค้ด จำนวน 20 ข้อ