Data Science Fundamentals - Python Control Flow
About
Use conditional statements to program logical decisions in Python, and learn how to iterate over lists.
Learning Objectives
You will be able to:
- Discuss
Pythoncontrol flow and conditional programming. - Implement
forandwhileloops to iterate through data structures. - Apply
if, elseconditional statements. - Demonstrate error-handling using
try, exceptstatements. - Combine control flow and conditional statements to solve the classic “FizzBuzz” code challenge.
Content
| Topic | About |
|---|---|
| python-control-flow.ipynb | Code-a-long |
| Exercises | Jupyter notebook of 5 challenging exercises |
Prerequisites
- Know Python data types: string, int, float, boolean, tuple, list, and dictionary.
References
Important note
Please ignore the _layouts folder and the config.yml file in the root of this repo. They are needed to make sure the repo renders well; please don’t change them or delete them and your repo will work fine :)