用Python求X,Y,Z的值。

用Python求X,Y,Z的值。

x,y,z=(10,20,30)

if x<y:

    z=x

    x=y

    y=z

print(x,y,z)