Write a Python function to multiply all values in the list


Topic: Write a Python function to multiply all values in the list

Solution

def multiplyList(myList) :
    result = 1
    for x in myList:
         result = result * x 
    return result 
	
	



List all Python Programs