Help me in solving LID2 problem

My issue

My code

# Update the code below to solve the problem

months = ["January", "February", "March", "April", "May", "June", "July"]
print(list[0:5])
print(list[1:6])

Learning course: Learn Python
Problem Link: CodeChef: Practical coding for everyone

Your logic is perfect.But you gave wrong variable name.
I mean,
print(months[0:5]) # just change the the variable name as “months”
print(months[1:6])