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 trialJason Pallone
895 PointsPython code challenge question
im lost here a little bit available = "banana split;hot fudge;cherry;malted;black and white" sundaes = available.split(";") menu = "our available flavors are: {}." display_menu = sundaes menu.format(dispaly_menu) is what i have, but how do i combine the sundaes menu to have the ', ' after each item?
available = "banana split;hot fudge;cherry;malted;black and white"
sundaes = available.split(";")
menu = "our available flavors are: {}."
display_menu = sundaes
menu.format(dispaly_menu)
2 Answers
Arindam Roychowdhury
3,244 Points','.join(sundaes)
Jason Pallone
895 PointsI figured it all out after some trial and error on the shell haha, Thanks!
Jason Pallone
895 PointsJason Pallone
895 PointsGot it figured out haha, thank you for the help!