ml-2023SZ/zad1.3.py

3 lines
102 B
Python
Raw Permalink Normal View History

2024-01-04 21:36:25 +01:00
def kwadraty(input_list):
output_list = [i**2 for i in input_list if i > 0]
return output_list