Curbal has its own social media server on Mastodon. Check it out here!
Welcome to our Knowledge Base

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

Print

Bite 3: if statements

In this Bite we are going to learn:

1. How to create if statements
2. Continue building on our game

Theory

Jupyter Lab notebook available here.

Bite 3 : If statements in python | Python mystery game

Practice

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

The solution

Bite Solution 3: if statements | Python mystery game
Was this helpful?

Reader Interactions

Comments

  1. I’m getting a 404 error accessing the colab Jupyter notebook:
    “The ‘Curbal-Data-Labs/python-bites’ repository doesn’t contain the ‘Bites/Bite3.ipynb’ path in ‘main’. “

Let us know your thoughts...

Table of Contents