Discuss / Python / 不知道有什么问题没有

不知道有什么问题没有

Topic source

青人红衣

#1 Created at ... [Delete] [Delete and Lock User]

def finminmax(*a): if len(a)==0: return (none,none) if len(a)==1: return (a,a) x=a[1] y=a[1] for i in a: if i>x: x=i if i<y: y=i return (x,y) print(finminmax(3,1,5,6))

桃太郎-_-

#2 Created at ... [Delete] [Delete and Lock User]

厉害厉害


  • 1

Reply