• 2022-06-29
    下列说法错误的是( )。知识点:函数
    未知类型:{'options': ['已知元组列表x=[(2,3,10),(1,2,3),(2,6,7),(3,5,10)],那么sorted(x, key=lambda item : item[0]+item[2])排序后,print(x)的输出结果是:[(1, 2, 3), (2, 6, 7), (2, 3, 10), (3, 5, 10)]', "已知num=[2,3,4,5], print('*'.join(map(str, num)))的输出结果是:2*3*4*5", '已知x=[5, 2, 3, 4, 9],那么执行代码x = sorted(x[0::2], reverse=True)之后,x的值为[9,5,3]', '下面代码定义了求解[img=80x42]17de930c3fac9cf.png[/img]的函数,并计算x=9的取值import mathdef log3(x): return math.log(x)/math.log(3)f = log3print(f(9))'], 'type': 102}
  • 举一反三