Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
python range of array
jreese
Programming language:
Python
2021-08-03 10:34:23
0
Q:
python range of array
Mi Young Kim
Code:
Python
2021-08-03 17:46:28
>>> new_list = [1, 2, 3, 4, 5, 6, 7, 8, 9] >>> print(new_list[5:9]) [6, 7, 8, 9]
1
Tags
python
array
Related
python for loop range
for in range loop python
for i in range python
python range
range python
python array index range
range parameters python
in range python
get range of items of python list
python in range
python list index out of range
how do you use the range function in python
range py
random range python
range(n,n) python
python range function
python create list from range
New to Communities?
Join the community