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 trialDinesh Murugan
146 PointsHow to assign a variable.
Create a variable called my_tuple and assign to it a tuple with three values, all strings 'I', 'love', 'python'
Honestly, I don't understand the question
my_tuple=('i', 'love', 'phyton')
4 Answers
Ella Ruokokoski
20,881 Pointsthis is the error message your code creates. They are usually helpful in debugging.
Bummer: Hmm. The my_tuple variable is incorrect. Does your tuple have 3 values? Is the spelling and capitalization of the values correct? Are the values separated by commas?
It's just that your first item in the tuple is a lowercase "i". The task wants you to add it as a capital letter so it is grammatically correct.
Dinesh Murugan
146 PointsThanks, Kevin & Ella. It worked finally. I made a mistake.
Kevin Foytik
14,553 PointsYou're welcome, glad to help.
Dinesh Murugan
146 Pointsmy_tuple = ('I','love','phyton') "THIS IS NOT REALLY WORKING, I DONT KNOW WHERE I AM REALLY MAKING A MISTAKE"
Kevin Foytik
14,553 Pointsphyton
It looks like you misspelled 'Python' - try changing the line to
my_tuple = ('I', 'love', 'python')