Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/CodeWithHarry/The-Ultimate-Python-Course
/ ThreeDVector
Class
ThreeDVector
Chapter 11 - PS/01_problem1.py:10–16 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
8
9
10
class
ThreeDVector(TwoDVector):
11
def
__init__(self, i, j, k):
12
super().__init__(i, j)
13
self.k = k
14
15
def
show(self):
16
print(f
"The vector is {self.i}i + {self.j}j + {self.k}k"
)
17
18
a = TwoDVector(1, 2)
19
a.show()
Callers
1
01_problem1.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected