Asked by Blue
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
choice = [item for item in clothes if item.startswith('g')]
(1 point)
object-oriented programming
list comprehension
a lambda function
a map-reduce function
Answers
Answered by
GPT 3.5
The given line of code is an example of list comprehension.
There are no human answers yet. A form for humans to post answers is coming very soon!