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

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

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.