摘要: import math def is_valid(num): if type(num) in {int,float} and num>0: return True else: return False #是否是三角形 def is_triangle(a, b, c): if is_valid(a) 阅读全文
posted @ 2022-03-28 11:04 AubeLiang 阅读(342) 评论(1) 推荐(0) 编辑