MCPcopy Create free account
hub / github.com/CodeWithHarry/The-Ultimate-Python-Course / show

Method show

Chapter 11 - PS/01_problem1.py:15–16  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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
18a = TwoDVector(1, 2)
19a.show()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected