Skip to content

02 Tips & Tricks

mccornet edited this page Jul 24, 2021 · 14 revisions

Tips & Tricks

Math

  • Sum of consecutive integers: 1/2 * n * (n+1)

Python

  • use a for loop when the number of iterations is known instead of while

Clone this wiki locally