题库 第6371页
单选题:下列程序运行输出结果为__________。
下列程序运行输出结果为__________。@[A](4) words=['cat','window', 'defenestrate'] for w in words: if len(w)˃6:…
单选题:下列程序运行输出结果为_______。
下列程序运行输出结果为_______。 @[D](4) words=['cat','window', 'defenestrate'] for w in words[:]: if len(w)˃6:…
单选题:下列程序运行输出结果为_______。
下列程序运行输出结果为_______。@[B](2) def if_test(score): if(score˃=90): print('Excellent') elif(score˃=80):…
单选题:下列程序运行输出结果为_______。
下列程序运行输出结果为_______。@[D](2) m={1:'A','2':'B'} print(m.get(2,-1))A. 'B'B. 'A'C. NoneD. -1A.'B'B.'A'C.NoneD.-1答案:D…
单选题:Python中下面表达式结果为False的是______。
Python中下面表达式结果为False的是______。 @[D](2)A. 'abc'˃'ab'B. 'abc'˂'abcd'C. ''˂'a'D. 'He'˃'he'A.'abc'˃'ab'B.'abc'˂'abcd'C.''˂'…
单选题:下列数据类型中,Python不支持的是____________。
下列数据类型中,Python不支持的是____________。 @[A](2)A. charB. intC. floatD. listA.charB.intC.floatD.list答案:A…
单选题:Python的print(type(1//2))的输出结果是__。
Python的print(type(1//2))的输出结果是__。 @[A](2)A. <class 'int'>B. <class 'number'>C. <class 'float'>D. <…
单选题:Python的print(type(41J))的输出结果是_______。
Python的print(type(41J))的输出结果是_______。 @[A](2)A. ˂class 'complex'>B. ˂class 'int'>C. ˂class 'float'>D. ˂class…
单选题:下面程序段执行后的输出结果是( )。
下面程序段执行后的输出结果是( )。```char a[] = "language", *p;p = a;while ( *p != 'u' ){ printf( "%c", *p - 32 ); p++;}```A.LANGUAGEB.l…