Variables, conditionals and loops#

In the previous chapters we have explored a number of tools that allow us to use our mathematical knowledge more efficiently. In this part of the book we will see start to gain the knowledge necessary to build these tools. We will start by more formally seeing how to:

Important

In this chapter we will cover:

  • Creating variables.

  • Run code depending on a given condition.

  • Repeat code as long as a given condition is met.

  • Repeat code over a given set.