prog-obiektowe/python/main.py

16 lines
241 B
Python
Raw Normal View History

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