Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Alexander ArbourPython Development Techdegree Student 2,009 Points
Getting an error on the second task stating that I haven't created a tuple.
For whatever reason, I'm receiving an error that states I haven't created a tuple. The format is the exact same as the previous task, which recognized what I wrote as a tuple. I'm not sure what I'm doing wrong in this instance, considering I've rechecked the formatting and on the first task it is willing to recognize what I've written as a tuple.
my_tuple = 'I', 'love', 'item3', 'python'
Josh Keenan19,426 Points
You've misread the challenge, you need to create a variable called
item3, not insert a string manually to the tuple.
my_tuple = 'I', 'love', 'python' item3 = # The third thing in the tuple
Hope this helps!