Discuss / Python / 交作业

交作业

Topic source

风庭水轩

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

if L == []: return (None, None) min=L[0] max=L[0] for x in L: if x <= min: min = x if x >= max: max = x return (min, max)


  • 1

Reply