Print

Bite 6: For loops, try except in Python

In this Bite we are going to learn:

1. Learn how to do for loops in python
2. Copy and format columns in pandas
3. Loop and append tables in pandas
4. Try except to catch errors in python

Practice the basics first

Jupyter Lab notebook available here when the video gets released on YouTube.

Bite 6: Loops and error exceptions in python | Python mystery game

The challenge

The final output of this bite is the small program below.

The solution

Bite Solution 6: Loops and error exceptions in python | Python mystery game
Was this helpful?

Reader Interactions

Leave a Reply

Your email address will not be published. Required fields are marked *

Table of Contents