prog-obiektowe/python/main.py
2023-04-04 15:42:52 +02:00

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')