Lesson 17: Python Loops for a Coin Toss Simulation
March 9, 2020
Review:
- Quiz 08
- Intro to Data Science with Python
- Stock Market Simulation Project
Presentation:
- Loops in DataCamp
- Repl.it
- Simulation of Coin Toss in 3 steps
Activity:
- Create a Repl.it account
- Write a python program (in Repl.it) to simulate a coin toss
- Run the program with sims = 100, 1,000 and 10,000
- Use the output to generate three line graphs
- Save/maintain this program for future use
Assignment:
- Complete the Stock Market Simulation Project
- Recommended: Intermediate Python (DataCamp)