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

运行下列这段程序,正确的输出结果是?( ) LS = ["apple", "red", "orange"] def funb(a): LS.append(a) funb("yellow") print(LS)

A:["apple","red","orange"]
B:["apple","red","orange","yellow"]
C:[]
D:["yellow"]

正确答案:B

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

本卷相关题目

在线做题 同科目题库