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

Method square_root

advanced_calculator.py:109–115  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

107 return self.num1**3
108
109 def square_root(self):
110 """_summary_: Get the square root of numbers
111
112 Returns:
113 _type_: _description_
114 """
115 return self.num1 ** (1 / 2)
116
117 def square_exponent(self):
118 """_summary_: Get the square exponent of numbers

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected