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 trialKarol Zientek
2,006 PointsI can't finish this challenge because of 3rd task
I can't solve this 3rd task, I think I used .format in proper way, but I still cannot solve this .join(", "). Every time I want to check my work it shows me that 1st task wasn't done but I done it in a proper way. Can anyone help me with that or send me a proper, solved code?
available = "banana split;hot fudge;cherry;malted;black and white"
sundaes = available.split(";")
menu = "Our available flavors are: {}."
the_end_of_menu = menu.format(sundaes)
3 Answers
Steven Parker
231,269 PointsThe arguments for join are supplied in the opposite manner of split.
Plus, the challenge says to reassign menu with the result:
menu = menu.format(", ".join(sundaes))
Karol Zientek
2,006 PointsOk, GOT IT! Thanks a lot mate! You helped me so much!
Alexander Kobilinsky
359 PointsKarol Zientek
2,006 PointsWhat's that? Is that e-mail?