Computer Science, asked by alitaangelbattle1, 6 months ago

Create a new list of the 6th through 13th elements of lst (eight items in all) and assign it to the variable output.

Answers

Answered by Gazanfar0726
1

Explanation:

i have a python list and the question says-> Create a new list of the 6th through 13th elements of lst (eight items in all) and assign it to the variable output English is not my first language.I think it is asking me to create a new list which will have the 6th element("shine") to 13th element("gold") including both words and all the words in between. i am not sure how to write the python code to do it.

Answered by bonnyningthouja123
4

Answer:

lst = [ Any value ]

output = lst[ 5:13]

print(output)

Similar questions