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 trialJonathan Camacho
1,504 Points"Bummer! invalid syntax (<string>, line 1)", how do I fix this?
I changed 'None' to 1 to see if I could get admitted to be True, but the error still remained. How do I fix the error?
admitted = 1
if age >= 13
admitted = True
1 Answer
igsm '
10,440 PointsYou have a syntax error. Perhaps, you have forgotten something? See documentation: https://docs.python.org/3.6/tutorial/controlflow.html
Steven Parker
231,248 Pointsigor sm — Jonathan won't be able to remove this redundant question if it has an answer. You'll need to remove your answer first.
Steven Parker
231,248 PointsSteven Parker
231,248 PointsThat's not the issue.
And you already asked about this issue and I have answered you there.
But hey, it's much easier to read with the auto-formatting applied by the challenge.
You can delete this duplicate question.