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 (2015) Logic in Python Conditional Value

bradleybarron
bradleybarron
1,442 Points

Just want the answer to the review. No more wasting time on it.

I just want to continue with this course. The "review" aspect if really starting to show it's lack of communicating the proper procedure.

I just want the answer . no more wasted time.

conditions.py
admitted = None
admitted = True
if age > 13:
    admitted
else:

2 Answers

Ben Reynolds
Ben Reynolds
35,170 Points
  1. Cut the "admitted = True" line near the top and paste it in the "if" block instead of the "admitted" that's in there now
  2. The "if" condition should be age is greater than or equal to 13
  3. The else block will look exactly like the if block with False instead of True
bradleybarron
bradleybarron
1,442 Points

was missing >= sigh. I used it several times but not in this config ty.