Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Python Python Basics Types and Branching Logic

Marquis Hurley
Marquis Hurley
631 Points

boolean

so im really confused on how to break this down and read it. some simplicity please. True or False or False why is not True?

Alexander Danson
Alexander Danson
5,952 Points

True or False or False is True.

You can read it like this:

(True or False) or False = True or False = True

2 Answers

Steven Parker
Steven Parker
221,294 Points

You're right, the answer to "True or False or False" is True.
Did you perhaps get that question confused with a different one?

Marquis Hurley
Marquis Hurley
631 Points

i think i may have just looked at it wrong. thanks again! thank you! i know i'll have more questions sooner or later, until then.

Steven Parker
Steven Parker
221,294 Points

Marquis Hurley — Glad to help. You can mark a question solved by choosing a "best answer".
And happy holidays!   :christmas_tree: