Python由边长判断三角形 摘要:解题思路:将三边两两之和与最常边比较,均大于最长边则是三角形的三边注意事项:表作为函数参数参考代码:def max_list(a): mx=a[0] …… 题解列表 2026年04月23日 0 点赞 0 评论 29 浏览 评分:0.0
python编写题解 2792: 三角形判断 摘要:解题思路:三角形的三边关系:任意两边之和大于第三边或者任意两边之差小于第三边。参考代码:a, b, c = map(int, input().split()) if a+b > c and a+c …… 题解列表 2024年03月07日 0 点赞 0 评论 642 浏览 评分:0.0
编写题解 2792: 三角形判断 摘要:解题思路:两个较短的边之和大于最长的那条边注意事项:参考代码:a=list(map(int,input().split()))a.sort()if a[0]+a[1]>a[2]: print(&…… 题解列表 2024年02月27日 0 点赞 0 评论 537 浏览 评分:10.0
2792: 三角形判断 摘要:解题思路:注意事项:参考代码:a,b,c = map(int,input().strip().split())if a + b > c and a + c > b and b + c > a: …… 题解列表 2022年12月04日 0 点赞 0 评论 619 浏览 评分:0.0