# Write a Python program to Ways to find length of list # Python code to demonstrate# length of list# using naive method  # Initializing list test_list = [ 1, 4, 5, 7, 8 ]  # Printing test_listprint ("The list is : " + str(test_list))  # Finding length of list # using loop# Initializing countercounter = 0for i in test_list:          # incrementing counter    counter = counter + 1  # Printing length of list print ("Length of list using naive method is : " + str(counter))