- 3

a = [ 1, 7, 8, 68, 76] print(::-2)

All the best

20th Nov 2021, 6:46 AM
Keerthinivaas G.K
Keerthinivaas G.K - avatar
2 Respostas
+ 6
Keerthinivaas G.K , the code as presented is incomplete and therefore not correct. did you mean: a = [ 1, 7, 8, 68, 76] print(a[::-2])
20th Nov 2021, 7:34 AM
Lothar
Lothar - avatar
+ 4
Is that a question? If not, then it's supposed to be into the Feeds ... https://www.sololearn.com/Discuss/1316935/?ref=app
20th Nov 2021, 6:49 AM
Ipang