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
Angelo Ayranji
2,162 Pointswhy is objective 1 no longer passing when i check my work in objective 3???
when i check my work in objective 3 of the splitting and joining challenge it gives me an error message that says: "Bummer!, task 1 is no longer passing" Can anyone help me i m stuck!!!
my answer is: var = menu.format(sundaes.join(", "))
3 Answers
Sabine Maennel
Treehouse Project ReviewerOkay, I just looked at the challenge: The task was to get 'menu' right, not to put it into a new variable var, like you did: So it should be like this:
var = ", ".join(sundaes)
menu = "Our available flavors are: {}.".format(var)
Your solution would have worked in real life, but not in the challenges that test against the predefined variable 'menu' that is supposed to have the right content.
Sabine Maennel
Treehouse Project ReviewerHello Angelo,
it would be easier to answer, if I would also know the question, not just your answer, but what I noticed is that you use 'join' in a wrong way: it should be used like this:
var = menu.format(", ".join(sundaes))
Angelo Ayranji
2,162 PointsHello Sabine,
Thanks for answering to me, but I copied and pasted your answer and it gave me an error message: " Bummer! Didn't find the right series of sundaes and commas in menu".
Please help me, What should i do??!!
Angelo Ayranji
2,162 PointsThanks a lot Sabine, I finally passed this challenge :)