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 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

boi
boi
14,242 Points
my_tuple = "I", "love", "python"  👈#Try this