题目内容

以下程序的输出结果是:try:print((3 +4j) *(3-4j))except:print( "运算错误!!")

A. (25 +0j)
B. 5
C. 运算错误!!
D. 3

查看答案
更多问题

以下程序的输出结果是()。for i in range(3):print(i,end = ',')

A. 0,1 ,2
B. 0,1,2,
C. 1,2,3
D. 1,2,3,

以下程序中,while循环的循环次数是:i = 0while i < 10:if i < 1:print(" Python" )continueif i== 5:print( " World!")breaki += 1

A. 10
B. 5
C. 4
D. 死循环,不能确定

以下程序的输出结果是:x= 10while x:x -= 1if x % 2:print(x,end = ")else:pass

A. 86420
B. 975311
C. 97531
D. 864200

以下程序的输出结果是:letter=['A','B','C','D','D','D']for i in letter:if i == 'D':letter. remove(i)print( letter)

A. ['A','B','C']
B. ['A','B','C','D','D']
C. ['A','B','C','D','D','D']
D. ['A','B','C','D']

答案查题题库