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

Method square_exponent

advanced_calculator.py:117–123  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

115 return self.num1 ** (1 / 2)
116
117 def square_exponent(self):
118 """_summary_: Get the square exponent of numbers
119
120 Returns:
121 _type_: _description_
122 """
123 return self.num1**2
124
125 def factorial(self):
126 """_summary_: Get the factorial of numbers"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected