Guest User

Untitled

a guest
Dec 9th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. def __mul__(self,other):
  2.     vectror1=self.vector
  3.     vector2=other.vector
  4.     i=0
  5.     soucin=0
  6.     for i in vector1:
  7.         soucin=soucin+vector1[i]*vector2[i]
Add Comment
Please, Sign In to add comment