Write the function inner_product
that takes two lists lst1
and lst2
and returns their inner product. Input lists have the same length. The inner product of two \(n\)-dimentional vectors is obtained as:
inner_product([1, 2, 3], [6, 7, 8]) -> 44