2023年9月电子学会Python等级考试试卷(五级)答案解析

青少年软件编程(Python)等级考试试卷(五级)

一、单选题(共25题,共50分)

1.

阅读以下代码,程序输出结果正确的选项是?( )
def process_keywords(keywords_list):
    unique_keywords = list(set(keywords_list))
    sorted_keywords = sorted(unique_keywords)
    result = tuple(sorted_keywords)
    return result
keywords = ["节约能源", "循环利用", "

猜你喜欢

转载自blog.csdn.net/IT_Scratch/article/details/134099930