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

Method calculate_square

area_of_square_app.py:52–54  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

50 # If ask side or input directly into the square.
51 # That can be done?
52 def calculate_square(self):
53 self.area = self.side * self.side
54 return self.area
55
56 # Want to add a while loop asking for the input.
57 # Also have an option to ask the user in true mode or in repeat mode.

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected