0

Which list slicing reverses the list 'numbers'?

11th Feb 2020, 12:54 PM
Mohamed Chelbi
Mohamed Chelbi - avatar
7 Antworten
+ 3
l = [2,4,6,8] m = l[::-1] print(l,m)
11th Feb 2020, 2:05 PM
Jan Markus
+ 3
to reverse the list numbers[::-1]
4th Aug 2020, 12:15 PM
Govind Vijayakrishnan
Govind Vijayakrishnan - avatar
+ 2
19th May 2020, 12:23 AM
I am a coder
0
11th Feb 2020, 12:54 PM
Mohamed Chelbi
Mohamed Chelbi - avatar
0
numbers[::-1]
1st Feb 2022, 9:41 AM
KESHAV KONDABALA
KESHAV KONDABALA - avatar
0
to reverse numbers[::-1]
18th May 2022, 12:06 AM
AZIZUL ISLAM RAHAD
AZIZUL ISLAM RAHAD - avatar