标签:
# -*- coding: cp936 -*-
t=[]
def num():
n1=input(‘enter n1:‘)
n2=input(‘enter n2:‘)
n3=input(‘enter n3:‘)
if n1>n2 and n1>n3:
print n1
elif n2>n1 and n2>n3:
print n2
elif n3>n1 and n3>n2:
print n3
t.append(n1)
t.append(n2)
t.append(n3)
t.sort()
if __name__==‘__main__‘:
num()
print t
标签:
原文地址:http://www.cnblogs.com/mhxy13867806343/p/4156446.html