Discuss / Python / 缩进的空格非常重要

缩进的空格非常重要

Topic source

LockHart4M

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

    min = max = None

    for i in L:

          if min == None or i < min:

                min = i

          if max == None or i > max:

                max = i

    return (min,max)

凛凛猪丶

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

可以讲一讲思路吗


  • 1

Reply