create two vectors and calculate their dot product.

WAP to create two vectors and calculate their dot product.
Note: Give the input in the code itself

Sample input:
[1, 2, 3]
[4, 5, 6]

Expected output: Dot product: 32
Total : 0 Discussion
Login