Day 2# Contents Control Flow Conditional Statements Using Logical Operators Nested If Statements Extra Tips and Tools Loops For Loop Break and Continue For Loop with Else List Comprehension While Loop Break and Continue in While While Loop with Else Nested Loops Applications of Loops Additional Resources Exception Handling Introduction to Exceptions Why handle exceptions? The try…except Structure Else Block Finally Block Raising Exceptions with raise Additional Resources Testing Why Test? Basic Types of Testing Introduction to unittest Writing Test Cases Assert Methods Organizing Test Suites Running Tests Introduction to pytest Writing Tests Fixtures Running pytest Writing Tests for Previous Chapters Test-Driven Development (TDD) Additional Resources Debugging Types of Errors Using print for Debugging Using Debugger in IDEs Using the pdb Module Understanding Tracebacks Effective Debugging Techniques Additional Resources