Help me in solving LID2 problem

My issue

how to solve it

My code

# Update the code below to solve the problem

months = ["January", "February", "March", "April", "May", "June", "July"]

for i in months[0:]:
    print(i)

for j in months[1:5]:
    print(j)

Learning course: Learn Python Programming
Problem Link: https://www.codechef.com/learn/course/rcpit-python/RCPITPY22/problems/LID2