Skip to main content
Engineering LibreTexts

5: Conditionals and recursion

  • Page ID
  • The main topic of this chapter is the if statement, which executes different code depending on the state of the program. But first I want to introduce two new operators: floor division and modulus.

    • Was this article helpful?