hands-on tutorial

Hands-on for 'Python - Loops' tutorial

The questions this addresses are:
- How can I make a program do many things?

The objectives are:
- Explain what for loops are normally used for.
- Trace the execution of a simple (unnested) loop and correctly state the values of variables in each iteration.
- Write for loops that use the Accumulator pattern to aggregate values.

Licence: Creative Commons Attribution 4.0 International

Keywords: data-science, jupyter-notebook

Target audience: Students

Resource type: hands-on tutorial

Authors: Bazante Sanders, Donny Vrins, Helena Rasche, The Carpentries

Contributors: Bazante Sanders, Donny Vrins, Helena Rasche, The Carpentries

Scientific topics: Software engineering


Activity log