Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
index and reversing a sub list in python list
Xiu
Programming language:
Python
2021-07-05 22:12:27
0
Q:
index and reversing a sub list in python list
C.worm
Code:
Python
2021-08-05 00:07:29
def reverse_sublist(lst,start,end): lst[start:end] = lst[start:end][::-1] return lst
0
Tags
python
list
sub
index
Related
how to reverse a list in python
how to find the position in a list python
python longest list in list
python find the index of a list element
reverse element in a list in python 3
how to find item in list python without indexnig
python reverse list
python index list in list
choose index from list python
python subtract every element in list
python slice list using index
how to find index of list of list in python
sort list by index in python
how to revert a list python
python sort list in reverse
find index of sublist in list python
python initialise list of lists
reverse list python
New to Communities?
Join the community