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 trialJenn Giulietti
4,888 Pointstuple
i completed the task as my_tuple='I','love','python'
can you explain where I went wrong?
Task #1
F
FAIL: test_code_expectations (main.TestCreateATuple)
Traceback (most recent call last): File "", line 22, in test_code_expectations AssertionError: Regex didn't match: 'my_tuple\s=\s[/(]?\\'?\"?I\"?\\'?,\s\\'?\"?love\"?\\'?,\s\\'?\"?python\"?\\'?[/)]?' not found in "# insert your code here\nmy_tuple='I','love','python.'" : To create a tuple, my_tuple should be equal to comma separated values. You can also use parentheses around the values if you want.
Ran 1 test in 0.001s
FAILED (failures=1)
# insert your code here
my_tuple='I','love','python.'
1 Answer
Jennifer Nordell
Treehouse TeacherHi there, Jenn Giulietti! You're doing great. However, you put a period/full stop after "python" and the test isn't expecting that. So it doesn't match exactly. You may need to restart the challenge and then do it just like you did but without the "."
Hope this helps!