Week 3: Sept 11 - 17

Quiz 2

Tuesday, September 12

What is covered:

  • for loops and while loops.

  • break and continue

  • The range() function.

  • Logical operators: not, and, or.

  • Defining functions.

Python

Mathematics

  • Sieve of Eratosthenes

Week 3 notebook

  • View online

  • Download (after downloading put it in the directory where you keep your Jupyter notebooks).