13.4 Exercises

i2ds: Exercises

Here are four exercises from 12.4: Exercises of the ds4psy book (Neth, 2021a):

13.4.1 Fibonacci loops

13.4.2 Looping for divisors

13.4.3 Dice loops

13.4.4 Cumulative savings revisited

This concludes our exercises on iteration and loops.

References

Neth, H. (2021a). Data science for psychologists. Social Psychology; Decision Sciences, University of Konstanz. https://bookdown.org/hneth/ds4psy/