首页题库练习题目详情
Python程序设计单选题中等

如果希望while循环执行10次,应该使用哪段代码?

Ai = 0; while i < 10: print(i); i += 1
Bi = 0; while i <= 10: print(i); i += 1
Ci = 0; while i < 10: print(i); i -= 1
Di = 0; while i != 10: print(i); i += 1