संख्याओं की एक सूची को देखते हुए, एक सूची समझ लिखें जो उस सूची में केवल सकारात्मक संख्याओं की एक सूची तैयार करती है । उदाहरण: - इनपुट = [-2, -1, 0, 1, 2] आउटपुट = [1,2]
Given a list of numbers, write a list comprehension that
produces a list of only the positive numbers in that
list.
Eg:- input = [-2, -1, 0, 1, 2]
Output = [1,2]