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

Python basics condition

I have tried so many ways to do this problem but can't figure it out. Any help?

conditions.py
admitted = None

2 Answers

You need to setup a conditional statement as per the challenge instructions.
Here's some info on how you might do that:
http://www.tutorialspoint.com/python/python_if_else.htm

If you are finding the python class too difficult, I recommend starting with the Ruby or Javascript tracks, they're a little simpler for beginners and the challenges are bit less challenging than in the Python track.

Eric Hodgins
Eric Hodgins
29,207 Points

If you haven't figured it out yet can you show us some code that you tried already? I'm sure we can figure out what's going wrong there!