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

Method root

advanced_calculator.py:75–81  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

73 return self.num1**self.num2
74
75 def root(self):
76 """_summary_: Get the root of numbers
77
78 Returns:
79 _type_: _description_
80 """
81 return self.num1 ** (1 / self.num2)
82
83 def remainer(self):
84 """_summary_: Get the remainder of numbers

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected