题库首页 › 青少年软件编程(Python) › 题目 18958

在Python中,运行下面代码的输出结果是?( ) text = "apple banana apple cherry banana" words = set(text.split()) print(len(words))

A:2
B:3
C:4
D:5

正确答案:C

试卷来源:202603 青少年软件编程等级考试Python五级真题

本卷相关题目

在线做题 同科目题库