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

Specific Index Value, Task 1.

This is the link: https://teamtreehouse.com/library/python-basics/python, Please help. Why does it say that "varl is not defined."

Steven Parker
Steven Parker
243,656 Points

That link doesn't seem to work, and you forgot to show your code.

2 Answers

Steven Parker
Steven Parker
243,656 Points

Without seeing your code, I'll take a wild guess:

You may have a typo where a "1" (one) got replaced by an "l" (lower case L).

I'll bet you just need to change "varl" to "var1" (or vice-versa).

Thanks a lot. It worked.