Python 三角形类,实现数据的输入、输出、周长、面积的计算

Python 三角形类,实现数据的输入、输出、周长、面积的计算python 练习题code 2018.10.25input import math class Triangle: def __init__(self): a=0 b=0 c=0 def add(self): self.a=int(input("输
相关文章
相关标签/搜索