forxinrange(4):s1="Hello"ifx%2==0:s1=s1+"Python"ifx%3==0:continueprint(s1)else:print("end_loop")程序块输出结果为()
A. HelloHelloPython
B. HelloHelloPythonend_loop
C. HelloHelloHelloPythonHello
D. HelloHelloPythonHelloend_loop
查看答案
forxinrange(1,4):s1="Hello"ifx%2==0:s1=s1+"Python"ifx%3==0:breakprint(s1)else:print("end_loop")程序块输出结果为()
A. 无任何输出
B. HelloHelloPython
C. HelloHelloPythonend_loop
D. HelloHelloPythonHelloend_loop
下列Python程序的运行结果是( )。x=0y=Trueprint(x>y and 'A'<'B')
A. True
B. False
C. ture
D. false
3 and 5运行后结果为( )
A. 3
B. 5
C. Ture
D. False
运行以下代码的结果为( )print(4 or 6)
A. True
B. 1
C. 4
D. 6