Compute the dot product of two numeric vectors (lists of numbers).
Constraints
Example
>>> dot_product([1, 2, 3], [4, 5, 6]) 32 >>> dot_product([-1, 2], [3, -4]) -11 >>> dot_product([0.5, 1.5], [2, -2]) -2.0
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints