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

yosalak chanatrutipan
yosalak chanatrutipan
1,481 Points

I don't understand why False is a wrong answer. While (False or True or True) is True.

the question is True or False or False

I don't understand why False is a wrong answer. While (False or True or True) is True.

2 Answers

Joseph Yhu
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Joseph Yhu
PHP Development Techdegree Graduate 47,388 Points

The 'or,' also known as a disjunction means that if at least one of A, B, C,... is true, then A or B or C.... is true. In other words, only one of them has to be true for the whole thing to be true.

Watch this short video I created about this.

Let me know if this helps!

yosalak chanatrutipan
yosalak chanatrutipan
1,481 Points

Thank you very much.It help me to understand.