首页->python程序设计
达式 sorted([111, 2, 33], key=lambda x: -len(str(x))) 的值为__。
答:([111, 33, 2])

更多python程序设计试题
- 1已知 x = [[1, 2, 3,], [4, 5, 6]],那么表达式 sum([i*j for i,j in zip(*x)]) 的值为__。
- 2哪个选项不能生成一个空字典?()
- 3列表是Python中内置有序、可变序列,列表的所有元素放在一对中括号“[]”中,并使用逗号分隔开()
- 4表达式 ‘hello world, hellow every one’.replace(‘hello’, ‘hi’) 的值为______________。
- 5以下选项中,Python数据分析方向的第三方库是、