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 trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![jamie Macdiarmid](https://secure.gravatar.com/avatar/9366899f2259bc62f2d130711cdb5d06?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
jamie Macdiarmid
2,048 PointsStuck again.
sundaes= "banana split;hot fudge;cherry;malted;black and white".split(';')
What's wrong?
available = "banana split;hot fudge;cherry;malted;black and white"
sundaes= "banana split;hot fudge;cherry;malted;black and white".split(';')
2 Answers
![Afrid Mondal](https://uploads.teamtreehouse.com/production/profile-photos/5130932/micro_A_Logo.jpg)
Afrid Mondal
6,255 PointsYour code seems fine to me. But instead of assigning the string directly use variable. Like...
available = "banana split;hot fudge;cherry;malted;black and white"
sundaes = available.split(';')
![Cena Mayo](https://uploads.teamtreehouse.com/production/profile-photos/18420/micro_lsuicon.jpg)
Cena Mayo
55,236 PointsHi Jamie,
Your code technically works, but the instructions say: "Use .split() to break the available string apart on the semi-colons (;). Assign this to a new variable sundaes."
They just want you to use the available variable.
So:
available = "banana split;hot fudge;cherry;malted;black and white"
sundaes = available.split(';')
Best, Cena
![jamie Macdiarmid](https://secure.gravatar.com/avatar/9366899f2259bc62f2d130711cdb5d06?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
jamie Macdiarmid
2,048 PointsThanks Cena. I appreciate your time
jamie Macdiarmid
2,048 Pointsjamie Macdiarmid
2,048 PointsThanks Afrid. I appreciate it.