re: Daily Coding Puzzles - Nov 4th - Nov 9th VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

Go

func Product(nums []int)(x int) {
    x = 1

    for _, num := range nums {
        x *= num
    }
    return
}

code of conduct - report abuse