Probability in Rstudio: tossing coins!

If you can do it manually then you can make a start on the exercise.

FAQ: Homework Policy - meta / Guides & FAQs - RStudio Community