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

A21064. 执行以下Python代码后,输出的结果是?( )words = ["hello", "world", "python"] result = [char for word in words for char in word if char in 'aeiou'] print(len(result))

单选题 较难

题目描述

执行以下Python代码后,输出的结果是?(    )

words = ["hello", "world", "python"]
result = [char for word in words for char in word if char in 'aeiou']
print(len(result))

选项(单选)

上一题 下一题