6 lines
249 B
Python
6 lines
249 B
Python
![]() |
colors_list = ['red', 'yellow', 'blur', 'orange', 'purple', 'black', 'brown', 'green', 'sky', 'gray']
|
||
|
print(colors_list)
|
||
|
start = int(input('Enter number between 0-4 : '))
|
||
|
end = int(input('Enter number between 5-9 : '))
|
||
|
print(colors_list[start:end])
|