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 trialNitin Dash
212 PointsSplit and join
Please check, Not sure where I am wrong
available = "banana split;hot fudge;cherry;malted;black and white" sundaes = available.split(';') menu = "Our available flavors are: {}." display_menu = menu.format(", ".join(sundaes))
available = "banana split;hot fudge;cherry;malted;black and white"
sundaes = available.split(';')
menu = "Our available flavors are: {}."
display_menu = menu.format(", ".join(sundaes))
2 Answers
Stuart Wright
41,120 PointsYou have everything correct except the variable names that it asks you to use. Swap menu and display_menu around so that the final results are held in menu rather than display_menu, and your code will pass.
timoleodilo
1,438 Pointsavailable = "banana split;hot fudge;cherry;malted;black and white" sundaes = available.split(';') menu = (" Our available flavors are: {}.".format(", ".join(sundaes)))
mine its not passing