单项选择题

A.运行结果显示NameError:name'x'isnotdefined
B.运行结果无限循环输出1
C.它等价于下面的程序#x=1whilex:print(x)
D.它等价于下面的程序whilex:print(x)