0
Reverse
sqs = [0, 1, 4, 9, 16, 25, 36, 49, 64, 81] print(sqs[::-6])
5 Answers
+ 3
To reverse it you do sqs[::-1]
+ 1
Reverse
sqs = [0, 1, 4, 9, 16, 25, 36, 49, 64, 81]
print(sqs[::-1])
+ 1
đđŒ
+ 1
print([sqs[i] for i in range(len(sqs)-1, -1, -1)])
đ
0
sqs.reverse()