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 trialLaura Lappebn
388 Pointstrue or false or false
Why is this statement true? In the quiz it said True. I thought Craig explained that both sides have to be true in order to be true.
2 Answers
Moosa Bonomali
6,297 PointsHere you are working with the OR statement and the result will be that, if one of the items been tested, turns out to be true, then the result will be true. So
true or false or false = true
When you are looking at the AND statement, then all items to be tested have to be true
Laura Lappebn
388 PointsThank you for explaining in detail.