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

Method cube

Chapter 10 - PS/04_problem4.py:8–9  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

6 print(f"The square is {self.n*self.n}")
7
8 def cube(self):
9 print(f"The cube is {self.n*self.n*self.n}")
10
11 def squareroot(self):
12 print(f"The squareroot is {self.n**1/2}")

Callers 1

04_problem4.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected