Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Який список буде згенеровано після виконання коду
lst = [1,-2 , 2, -4]
res = [a*a if a > 0 else a for a in lst]
1 -2 2 -4
1 -2 4 -4
1 4 4 16
1 2 2 4
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!