MCPcopy Create free account
hub / github.com/geekcomputers/Python / cube_root

Method cube_root

advanced_calculator.py:93–99  ·  view source on GitHub ↗

_summary_: Get the cube root of numbers Returns: _type_: _description_

(self)

Source from the content-addressed store, hash-verified

91 return self.num1 % self.num2
92
93 def cube_root(self):
94 """_summary_: Get the cube root of numbers
95
96 Returns:
97 _type_: _description_
98 """
99 return self.num1 ** (1 / 3)
100
101 def cube_exponent(self):
102 """_summary_: Get the cube exponent of numbers

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected