Discuss / Python / 作业

作业

Topic source

def findMinAndMax(L):

    if len(L)==0:

        return (None, None)

    else:

        return (min(L), max(L))

AliceLu

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

你的最简洁

sheep

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

这简洁啥用内置函数,这本来就是锻炼写算法


  • 1

Reply