PYTHON 3 QUESTIONS
Please compile in a single file. Thank You
For section info, please see book here
R-2.13 Exercise R-2.12 asks for an implementation of _mul_-, for the Vector class of Section 2.3.3, to provide support for the syntax v + 3. Implement the rmulmethod, to provide additional support for syntax 3 v. R-2.14 Implement the _.mul._ method for the Vector class of Section 2.3.3, so that the expression u * v returns a scalar that represents the dot product of the vectors, that is, Σ-1 14 . vi.