Commit 6710a102 by BellCodeEditor

save project

parent dbc64e8c
Showing with 23 additions and 0 deletions
x=int(input("x="))
y=int(input("y="))
z=int(input("z="))
if x>=y and y>=z:
print(x,y,z)
elif x>=z and y<=z:
print(x,z,y)
elif y>=x and x>=z:
print(y,x,z)
elif y>=z and z>=x:
print(y,z,x)
elif z>=x and x>=y:
print(z,x,y)
elif z>=y and y>=x:
print(z,y,x)
\ No newline at end of file
l = []
for i in range(3):
x=int(input("x="))
l.append(x=1)
l.sort()
print(l)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment