Advertisements
Advertisements
Question
Using the series created in Question 5, write commands for the following:
- Display the names of the months 3 through 7 from the Series MonthDays.
- Display the Series MonthDays in reverse order.
Code Writing
Advertisements
Solution
print(MonthDays[3:8])
print(MonthDays[::-1])
shaalaa.com
Is there an error in this question or solution?
