sort_3_numbers.py 82 Bytes
Newer Older
Sai Mounika's avatar
Sai Mounika committed
1 2 3 4 5 6 7
a=[3,1,2]
b=max(a)
c=min(a)
a.remove(b)
a.remove(c)
print c,a[0],b
#output:(1,2,3)