livepython.net

17. Python Program to Create and Print a Boolean Variable

EasyTypes

Overview

Understand how to work with boolean variables.

Problem Statement

Create and print a boolean variable indicating student status.

Constraints:

  • Variable must be named is_student
  • Value must be True
  • Print just the variable's value

Input

  • No input required

Output

True

Learn this firstChapter 4 · Python Variable Types: str, int, float and bool
solution.py
# write your code here

EXPECTED OUTPUT

1True

YOUR OUTPUT

Press Run to see your output here. Lines are compared with the expected output.