Module 3
Why computers repeat tasks
The power of repetition.
Computers do not get bored
One of the things computers do best is repeat the same task many times. You describe the task once, and the computer repeats it as many times as you need. This is called a loop.
Why it matters
In bioinformatics, you often need to process thousands of sequences. Loops make this possible without writing thousands of lines of code.
Why are loops useful?