Summary#

We’ve now introduced all the new concepts in week 2. Specific learning outcomes from this week are

  • We want you to be able to write and use functions, and to inspect a function and understand what it is doing.

  • We want you to be able to write and apply logical operators.

  • We want you to be able to write and apply conditional statements.

So far we’ve kept these separate, and haven’t asked you to write a function using logical operators or conditional statements.

You will have to combine these in the coursework. The end of class exercises will give many examples where we ask you to combine these together, and give examples of the sort of thing we might ask in the coursework. Please do your best to work through them!