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!
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

alexandradegolier
521 PointsIs this right?
This is not working. What did I do wrong?
available = "banana split;hot fudge;cherry;malted;black and white"
sundaes = available.split(;)
1 Answer

Keli'i Martin
8,227 PointsYou need to place the semicolon in quotes inside the .split()
function. Hope that helps!
alexandradegolier
521 Pointsalexandradegolier
521 PointsThank you! That worked.