Professional Documents
Culture Documents
Module - 4 Assignment Functions Please Write Python Programs For All The Problems
Module - 4 Assignment Functions Please Write Python Programs For All The Problems
Functions
ANSWERS
a=(2304,1569,1324,1787,1610,2838,45,398,909)
b=max(a)
############
a=[23,45.2,504,210,234,34,78]
b=sum(a)
import math
a=[2,3,4,5,6]
b=math.prod(a)
print('Product of a list:-', a)