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.

Python Introducing Tuples Getting to Know Tuples Creating Tuples

Creating tuple exercise fails

For the first challenge in the "Creating Tuple" exercise the exercise check always fails, even though I am sure the answer is correct.

I tried various variations already: my_tuple = "I", "love" , "python" my_tuple = 'I', 'love' , 'python' my_tuple = ('I', 'love' , 'python') my_tuple = ('I','love','python')

With brackets, without brackets, with single quotes, as well as double quotes. And even with spaces in between the individual tuple elements.. But the regex for the solution parser always fails. This is very frustrating. Do you have any feedback as to what else I could try to pass the automatic test?

Many thanks..

create_tuple.py
my_tuple = "I", "love" , "python"

1 Answer

my_tuple = "I", "love", "python"  👈#Try this