Long Breakfast (Exercise)
Now that you’ve worked on such a yummy shopping list, I think it’s time for a long breakfast. Start by creating a list called
breakfast from the string, “eggs, fruit, orange juice.” But there’s a space in between, which I guess is notable because you should create the list using the
Okay? So you’ve got to think about what is the separating character or characters that you can identify in the string so that you can use
.split() on the string to get a list that has these three elements in it.
Become a Member to join the conversation.