Discuss / Python / 俺也来答一手

俺也来答一手

Topic source

JL珏落

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

    if L == []:

        return (None, None)

    else:

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

大佬牛逼,小白不知道python能自动识别min和max


  • 1

Reply