16 lines
241 B
Python
16 lines
241 B
Python
from Circle import Circle
|
|
from Figure import Figure
|
|
from Rectangle import Rectangle
|
|
|
|
if __name__ == '__main__':
|
|
r = Rectangle()
|
|
r.setx(4)
|
|
r.sety(8)
|
|
r.area()
|
|
|
|
c = Circle()
|
|
c.setr(1)
|
|
c.area()
|
|
|
|
print('Finished')
|