“题目链接
a=[]
x=int(input("x:"))
y=int(input("y:"))
z=int(input("z:"))
a.append(x)
a.append(y)
a.append(z)
a.sort()
print(a)
C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\python.exe E:/PyCharm/PyCharmProject/test1.py
x:5
y:4
z:9
[4, 5, 9]
Process finished with exit code 0