Practice Exercises

The exercises shown in this section are optional, and are here for you to practice with.

Python exercises

The python exercises are courtesy of Jerry Pussinen from his “Learn Python 3” series and are reproduced here with permission, and under a CC-BY-SA 4.0 license.

R exercises

To practice R exercises, I am going to suggest you to use the excellent swirlr course. Here’s how to try it:

  1. Open RStudio

  2. In the Rstudio console type: install.packages("swirl")

  3. Once done installing, type: library("swirl")

  4. Choose Option 1: “1: R Programming: The basics of programming in R”

There are interactive exercises with feedback that you can go through.