just some clean up stuff
This commit is contained in:
parent
465aaf8b24
commit
a5f37defce
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
__pycache__
|
||||||
@ -30,5 +30,3 @@ class Vector:
|
|||||||
|
|
||||||
def distance(self, other: Self) -> int:
|
def distance(self, other: Self) -> int:
|
||||||
return math.sqrt((other.x - self.x)**2 + (other.y - self.y)**2)
|
return math.sqrt((other.x - self.x)**2 + (other.y - self.y)**2)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user