This line of code is an example of what?

choice = [item for item in clothes if item.startswith('g')]
(1 point)
object-oriented programming
list comprehension
a lambda function
a map-reduce function

1 answer

The given line of code is an example of list comprehension.
Similar Questions
  1. This line of code is an example of what?choice = [item for item in clothes if item.startswith('g')] object-oriented programming
    1. answers icon 1 answer
  2. This line of code is an example of what?choice = [item for item in clothes if item.startswith('g')] (1 point) Responses
    1. answers icon 1 answer
    1. answers icon 1 answer
  3. This line of code is an example of what?choice = [item for item in clothes if item.startswith('g')] (1 point) Responses
    1. answers icon 1 answer
more similar questions