Python Exp 3
Python Exp 3
3. Python program to calculate square and cube of a number and use two
decorators, one to increase result by 4 and another to multiply result by 2.
4. Write menu driven python program that accept list of numbers and
performs
following operation on list written in another module
● Summation of all elements
● Product of all elements
● Summation of elements at even indices
● add elements in the list