Program 12: Write a program to display the second largest element of a given list.
Code:
Output:
Program 13: Write a program to display the cumulative elements of a given list.
For example, List is [10,20,30,40]
Output should be [10, 30, 60, 100]
Code:
Output:
9