Level: Beginner
```
def pos_only(numlist:list) -> list:
'''
filter all negative values from a list
[3, -1, 7, -5, 0, 8, -2] -> [3, 7, 0, 8]
return [x for x in numlist if x >= 0]
pos=[num for num in numbers if num>0]
```
def pos_only(numlist:list) -> list:
'''
filter all negative values from a list
[3, -1, 7, -5, 0, 8, -2] -> [3, 7, 0, 8]
'''
return [x for x in numlist if x >= 0]
```
pos=[num for num in numbers if num>0]