4、阅读下面的代码,正确的输出是( )
- x = ['N','O','C']
- for i in x:
- x.append(i.lower())
- print(x)
x = ['N','O','C']for i in x: x.append(i.lower())print(x)
A、['n','o','c']
B、['N','O','C','n','o','c']
C、['N','O','C']
D、程序进入死循环,没有输出
4、阅读下面的代码,正确的输出是( )
- x = ['N','O','C']
- for i in x:
- x.append(i.lower())
- print(x)
x = ['N','O','C']for i in x: x.append(i.lower())print(x)
A、['n','o','c']
B、['N','O','C','n','o','c']
C、['N','O','C']
D、程序进入死循环,没有输出
Scratch3.0 全国青少年软件编程等级考试 Python Scratch图形化一级 Scratch图形化四级 Scratch图形化三级 Scratch图形化二级 电子学会