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 trialJoel holsinger
2,345 Points"It looks like Task 1 is no longer passing." Can't figure out why I am receiving this error message on the most basic
Very basic code challenge. Receiving error message "It looks like Task 1 is no longer passing." on task 2 of the code challenge. Checked over fifty times to see if I made a typo haha. Where did I make a mistake?
admitted = None
age = 18
if age > 13:
admitted = True
else:
admitted = False
1 Answer
Danny L.
10,837 PointsI just checked your code on the challenge, it's just two quick things.
- Don't set the age variable, if you do it tells you not to because 'they' will do that for you
- Your If statement should be >= not just >
After I changed those things it passed :)
admitted = None
if age >= 13:
admitted = True
else:
admitted = False
Joel holsinger
2,345 PointsJoel holsinger
2,345 PointsWow im dumb... haha thanks