标签:print app raw_input 输入 sorted for pen raw reverse
#排序
‘‘‘
x=int(raw_input(‘shuru:1‘))
y=int(raw_input(‘shuru2:‘))
z=int(raw_input(‘shuru3:‘))
list1=[x,y,z]
print list(reversed((sorted(list1))))
print (sorted(list1))
‘‘‘
l=[]
for i in range(3):
x=raw_input(‘shuruba:‘)
l.append(x)
l.sort()
print l
标签:print app raw_input 输入 sorted for pen raw reverse
原文地址:http://www.cnblogs.com/jietingting/p/7076852.html