python中使用sharp模块的简单范例
from shapes import Shape from shapes import Rectangle s1 = Shape(2,4) print(s1) r1 = Rectangle(4,8,3,5) print(r1)
python中使用sharp模块的简单范例
from shapes import Shape from shapes import Rectangle s1 = Shape(2,4) print(s1) r1 = Rectangle(4,8,3,5) print(r1)