Discuss / Python / 作业

作业

Topic source

独具一格5

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

def product(numbers): times=1 if numbers is None: raise TypeError for x in numbers: times=timesx return times print(product(6,1,5))

独具一格5

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

输入的程序和显示的不同

is None 判断不了的


  • 1

Reply