Skip to content

Commit 0ce6ff3

Browse files
committed
demonstrated methods
1 parent 10d8d03 commit 0ce6ff3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lab-11/triangle.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,6 @@ def __str__(self):
2525

2626
print(isinstance(x, GeometricObject))
2727
x.setColor("blue")
28+
x.setFilled(True)
2829
print(x.getColor())
30+
print(x.isFilled())

0 commit comments

Comments
 (0)