Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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
231,198 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
231,198 Points

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