Check your understanding of the previous reading: strings and lists as sequences, and what split returns.
True or false: Strings are sequences of characters, and lists are sequences of any type.
Select one answer, then check.
for loop.What is the type of the result of the following expression?
"1,2,3,4".split(",")
Select one answer, then check.
split returns a list of the pieces: ['1', '2', '3', '4'].split returns the pieces together in a list.split doesn't count or convert anything; it returns a list of the pieces of the string.desserts the same way.What is the element type of the result of the following expression?
"1,2,3,4".split(",")
Select one answer, then check.
'1', '2', '3' and '4' are strings, not numbers.split keeps them as strings; converting them takes int, as in the Input/Split/Loop pattern.['1', '2', '3', '4'].