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 trialHenry Moreno
1,086 Points.. it appears a bit ambiguous
it appears a bit ambiguous is the string a menu ..
available = "banana split;hot fudge;cherry;malted;black and white"
sundaes = available.split(';')
"Our available flavors are: {} .".format(sundaes)
2 Answers
Steven Parker
231,269 PointsThe term "menu" is not a type of thing. It's just the name of a variable you will create. You will store the string in that variable.
Henry Moreno
1,086 PointsOk I figured this out Thanks a ton... for your answer.
On TeamTreehouse: Error message is Bummer! Remember to reassign the menu variable with your joined string.
available = "banana split;hot fudge;cherry;malted;black and white" sundaes = available.split(';') menu = "Our available flavors are: {} ." display_menu = menu .format(", ".join(sundaes))
I run this additional step to check my results and I get the right answer.. What do you think ??
print(display_menu) Our available flavors are: banana split, hot fudge, cherry, malted, black and white .
Steven Parker
231,269 PointsI think the "bummer" hint says it: you still need to put the final string into "menu".
Also, when posting code, use the instructions for code formatting in the Markdown Cheatsheet pop-up below the "Add an Answer" area. Or watch this video on code formatting.