input positive numbers only

0

input positive numbers only

By Stone Hammer Proud Platypus at Apr 18 2021

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