Welcome to the Treehouse Community
Looking to learn something new?
Christopher Borchardt2,908 Points
your name_list variable should be a list
I am on the shopping list and when i do name_list = full_name.split I"m getting an error when i check the work, it says 'your name_list variable should be a list' am i doing something wrong? i thought the .split function would take the string of my full name and make a list out of it, splitting at the white space.
full_name = "Christopher Borchardt" name_list = full_name.split
Larry Tooley23,518 Points
Looks like a simple typo. Try: name_list = full_name.split()
Should yield: ['Christopher', 'Borchardt']