Python Quiz – Part 3 (Beginner Level)
Topics covered: break, input(), bool, lists, while, modulo, and exceptions.

🔍 What you get:

  • ✅ Number of correct answers
  • ❌ What went wrong (if any)
  • 📊 Score out of 40 (4 marks/question)
  • 📘 Explanation for each answer to help you learn faster!

Python Quiz for Beginners – Part 3

  1. Which keyword is used to exit a loop in Python?




  2. What does the input() function do in Python?




  3. What will print(bool("")) output?




  4. Which of these is a valid Python function call?




  5. What does range(3) produce?




  6. Which statement is used to handle exceptions?




  7. What is the output of print(10 % 3)?




  8. Which data type is used to store True or False?




  9. What will print(type([])) output?




  10. How do you write a while loop that runs while x is less than 5?




Python Quiz – Part 3 (Beginner Level)
Topics covered: break, input(), bool, lists, while, modulo, and exceptions.

🔍 What you get:

  • ✅ Number of correct answers
  • ❌ What went wrong (if any)
  • 📊 Score out of 40 (4 marks/question)
  • 📘 Explanation for each answer to help you learn faster!

Python Quiz for Beginners – Part 3

  1. Which keyword is used to exit a loop in Python?




  2. What does the input() function do in Python?




  3. What will print(bool("")) output?




  4. Which of these is a valid Python function call?




  5. What does range(3) produce?




  6. Which statement is used to handle exceptions?




  7. What is the output of print(10 % 3)?




  8. Which data type is used to store True or False?




  9. What will print(type([])) output?




  10. How do you write a while loop that runs while x is less than 5?