Question: 4 Question 4 9 pts What is the code to print the last 3 eclipse dates? eclipse_dates = ['June 21, 2001', 'December 4, 2002', 'November

4

4 Question 4 9 pts What is the code to print the Question 4 9 pts What is the code to print the last 3 eclipse dates? eclipse_dates = ['June 21, 2001', 'December 4, 2002', 'November 23, 2003', March 29, 2006', 'August 1, 2008', 'July 22, 2009', 'July 11, 2010', 'November 13, 2012', 'March 20, 2015', 'March 9, 2016'] O print(eclipse_dates[: 3]) O print(eclipse_dates[3:]) O Cannot be done without a loop O print(eclipse_dates[- 3:])

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock