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

在Python中,下面这段代码的输出结果是{1: 0, 2: 0, 3: 0, 4: 0, 5: 0}。( ) student_scores = dict.fromkeys(range(1, 6), 0) print(student_scores)

A:对
B:错

正确答案:正确

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

本卷相关题目

在线做题 同科目题库