Ready to curb your Power BI skills? Find out more here!
Welcome to our Knowledge Base

Tip: Start typing in the input box for immediate search results.

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

Let us know your thoughts...

Table of Contents