Python Python Basics (2015) Python Data Types Use .split() and .join()

I need your answer

I dont know what to do now

banana.py
available = "banana split;hot fudge;cherry;malted;black and white"
"banana split;hot fudge;cherry;malted;black and white".split(';')
sundaes = ['banana split','hot fudge','malted','black and white']

1 Answer

Clayton Perszyk
MOD
Clayton Perszyk
Treehouse Moderator 46,187 Points

You need to call split on the the variable available. That will return an array that should be assigned to sundaes.