[ad_1]
Use squaring = element * element against squaring = list[element] * list[element] because for the first element, for example, you’re consulting list[-9] and that index is out.
0
[ad_2]
solved Given a sorted list of integers, square the elements and give the output in sorted order