Skip to content

Commit

Permalink
Tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronnie5562 committed Jul 22, 2023
1 parent 387e4da commit 09237e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python-classes/4-square.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/python3
"""Define a class Square."""
"""A class Square that defines a square by: (based on 3-square.py)"""


class Square:
Expand All @@ -20,7 +20,7 @@ def __init__(self, size=0):
size (int): The size of the square.
"""
Square.validate(self, size)

@property
def size(self):
"""Get the current size of the square."""
Expand Down

0 comments on commit 09237e1

Please sign in to comment.