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]

0

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]

By Beginner Jean Zieme at Sep 03 2020


Related code examples


Code examples by languages