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

A59700. 执行下面Python代码后,输出的结果是?( )words = ["apple", "banana", "cherry"]

单选题

题目描述

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

words = ["apple", "banana", "cherry"]
vowels = 'aeiou'
result = []
for word in words:
    for char in word:
        if char in vowels:
            result.append(char)
print(result)

选项(单选)