1) What is Python? a) A type of snake b) A programming language c) A computer brand d) A game 2) Which of the following is not a valid Python data type? a) Integer b) String c) Float d) Loop 3) Which operator is used for exponentiation in Python? a) ^ b) ** c) * d) % 4) What is the purpose of an 'if' statement in Python? a) To define a function b) To create a loop c) To perform a conditional test and execute code based on the result d) To print text on the screen 5) Which of the following is NOT a comparison operator in Python? a) == b) b) != c) c) <= d) d) >< 6) How can you represent multiple conditions using 'if' statements? a) By using only 'if' statements b) b) By using 'if-else' statements c) c) By using 'if-elif-else' statements d) d) By using 'switch' statements
0%
Python Quiz
แชร์
แชร์
แชร์
โดย
Mukherjee10
แก้ไขเนื้อหา
สั่งพิมพ์
ฝัง
เพิ่มเติม
กำหนด
ลีดเดอร์บอร์ด
แสดงเพิ่มขึ้น
แสดงน้อยลง
ลีดเดอร์บอร์ดนี้ตอนนี้เป็นส่วนตัว คลิก
แชร์
เพื่อทำให้เป็นสาธารณะ
ลีดเดอร์บอร์ดนี้ถูกปิดใช้งานโดยเจ้าของทรัพยากร
ลีดเดอร์บอร์ดนี้ถูกปิดใช้งานเนื่องจากตัวเลือกของคุณแตกต่างสำหรับเจ้าของทรัพยากร
แปลงกลับตัวเลือก
เกมตอบคำถาม
เป็นแม่แบบแบบเปิดที่ไม่ได้สร้างคะแนนสำหรับลีดเดอร์บอร์ด
ต้องลงชื่อเข้าใช้
สไตล์ภาพ
แบบ อักษร
ต้องสมัครสมาชิก
ตัวเลือก
สลับแม่แบบ
แสดงทั้งหมด
รูปแบบเพิ่มเติมจะปรากฏเมื่อคุณเล่นกิจกรรม
เปิดผลลัพธ์
คัดลอกลิงค์
คิวอาร์โค้ด
ลบ
คืนค่าการบันทึกอัตโนมัติ:
ใช่ไหม