DEMO #1: So far, we've learned about integers and strings. Python also has another data type: boolean.

Booleans let us keep track of whether something has happened in our program or not. They appear in red.

  • Click Run and follow along with the demo.
  • Once you're finished, click Submit and Next to move on.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)