ml-2023SZ/zad1.3.py

3 lines
102 B
Python

def kwadraty(input_list):
output_list = [i**2 for i in input_list if i > 0]
return output_list