Page 1 of 1

Python: Boolean Variables

Posted: Wed Apr 08, 2026 11:09 pm
by Jason
The output must be True or False. It must start with a capital letter.

Code: Select all

Washington_DC_is_in_USA = bool(True)

Nirobi_is_in_Botswana = bool(False)