列表注意还原为空列表
摘要:解题思路:注意事项:参考代码:while True: a,b,c=map(int,input().split()) d=[a,b,c] xx=sorted(d) if xx[0……
陈教主的三角形-题解(Python代码)
摘要:```python
while True:
a,b,c=map(int,input().strip().split())
if(a+b>c and a+c>b and b+c>a……
陈教主的三角形 (Python代码)
摘要:三角形的构成条件为两边之和大于第三边,一个判断语句即可
```python
n = list(map(int,input().split()))
while 1:
if n[0] < ……
简单python走起
摘要:解题思路:注意事项:参考代码:while True: m=list(map(int,input().split())) m.sort() if m[0]+m[1]>m[2]: ……