Discuss / Python / 网页出了一个bug,多出来一个print(L)

网页出了一个bug,多出来一个print(L)

Topic source

YU忘了

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

# -*- coding: utf-8 -*-

def is_odd():

    global L

    L=list(filter(lambda n:n%2==1,range(1,20)))

is_odd()

print(L)


  • 1

Reply