Welcome to the Treehouse Community
Looking to learn something new?
vibhor RAMPAL2,365 Points
I dint get thisqq
Didnt get thiws QQ
available = "banana split;hot fudge;cherry;malted;black and white"
Jennifer NordellTreehouse Teacher
I'm assuming here that you're working on step one. All we're going to do here is set up a variable named "sundaes". Then we're going to take the flavors in the "available" string and split them at the semicolon. That will go into our new sundaes variable. Take a look at my solution:
available = "banana split;hot fudge;cherry;malted;black and white"; sundaes = available.split(';');