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

Aron Katz
Aron Katz
700 Points

All formatted to the tee. and no dice

No clue.

conditions.py
admitted = None
age = 13
if age >= 13:
    admitted = True
else:
     admitted = False
Aron Katz
Aron Katz
700 Points

This has been a maddening two hours doing this challenge. I have it all formatted as I keep being told, and it doesn't work at all. Support told me to get a hold of a moderator here so they can fix the bug that is wrong with the said program.

2 Answers

Thomas Nilsen
Thomas Nilsen
14,957 Points

remove

age = 13

that challenge states:

"I'm going to make a variable named age. I need you to make an if-condition..."

changed from comment to answer

Aron Katz
Aron Katz
700 Points

Oh jeez.......that was the most painful few hours I have ever spent with any language.....I appreciate the help and the coding team needs to stop making this stuff so cryptic where ones head meet the wall.