登录  注册

首页->Python语言基础

以下代码段,不会输出“A,B,C,”的选项是( )。

(A)for i in range(3): print(chr(65+i),end=",")

(B)for i in [0,1,2]: print(chr(65+i),end=",")

(C)i = 0 while i < 3: print(chr(i+65),end= ",") i += 1 continue

(D)i = 0 while i < 3: print(chr(i+65),end= ",") break i += 1

参考答案
继续答题:下一题
微考学堂微考学社

更多Python语言基础试题

考试