题海让大学四年没有难题
白天模式登陆

题目详情

单选题 What will be the output of the following Python code? l=[1, 0, 2, 0, 'hello', '', []] list(filter(bool, l))

A. Error

B. [1, 0, 2, 'hello', '', []]

C. [1, 2, 'hello']

D. [1, 0, 2, 0, 'hello', '', []]

Python程序设计(双语)课程封面

学科:Python程序设计(双语)

时间:2025-04-27 06:56:35

Copyright © 2022 津ICP备2021001502号