测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

A30065. 执行下面Python代码,调用函数get_max可以得到一个None类型的数据。def get_max(*args): if not args: return None return max(args)print(type(get_max()))

判断题 较难

题目描述

执行下面Python代码,调用函数get_max可以得到一个None类型的数据。

def get_max(*args):

      if not args:

            return None

      return max(args)

print(type(get_max()))

选项(单选)

上一题 下一题