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

Hunter Wulffson
Hunter Wulffson
Pro Student 300 Points

it says "couldn't find sundaes"...

so lost
available = "banana split;hot fudge;cherry;malted;black and white"
"banana split;hot fudge;cherry;malted;black and white".split(' ; ')

1 Answer

Alex Koumparos
Alex Koumparos
Python Web Development Techdegree Student 33,851 Points

Hi Hunter,

The task asks you to assign the result of splitting the string to a variable called "sundaes". You haven't created a sundaes variable. Try rewatching the 'Naming Things' video to understand assigning variables.

Once you've figured that out, you'll want to take another look at the syntax for split(): you don't want spaces in the argument to that method.