1 30.print(int("7.65"),输出结果是7。() 正确 错误 2025-06-26
2 第3题 下列选项中,输出结果为0的是? A.cout<<"5-5”; B.cout<<5-5; C.cout<<2*3; D.cout<<7/ 2025-05-25
3 5.下列选项中,输出结果为 0 的是? A. cout << "5-5"; B. cout << 5-5; C. cout << 2 * 3; 2025-05-19
4 2、下列选项中,输出结果为0的是?()(5分) A.cout<<"5-5"; B.cout<<5-5; C.cout <<2*3; D.cout 2025-05-18
5 12:已知string s="Hello";cout<<s.substr(1,3);,输出结果是什么?() A.llo B.elo C.Hel D.ell 2025-03-24
6 20.如果想输出结果为"科目三",则在①处应填入?() s='没有科目三的晚会是不完美的' n=" for i in range(①): n=n+s[ 2025-03-20
7 12.要想输出结果保留2位小数,下列选项中正确的是?()Ⅰ A.print('六年级一班的数学平均分为{0:2f}'.format(4321/50) B.print('六 2025-03-20
8 语句 cout<<(2^5)<<endl; 的输出结果是( )。 (A)1 (B)3 (C)7 (D)10 2025-01-04
9 语句 cout<<(24>>3)<<endl; 的输出结果是( )。 (A)12 (B)9 (C)6 (D)3 2025-01-04
10 语句 cout<<(3<<3)<<endl; 的输出结果是( )。 (A)24 (B)12 (C)9 (D)6 2025-01-04
11 语句 cout<<(1|2)<<", "<<(1||2)<<endl; 的输出结果是( )。 (A)0, 0 (B)1, 2025-01-04
12 语句 cout<<(1&2)<<", "<<(1&&2)<<endl; 的输出结果是( )。 (A)0, 0 (B)0, 2025-01-04
13 29.print(int(4.5)==float(4)输出结果是False。() 正确 错误 2024-10-02
14 14、当执行如下操作后,输出结果为__________(5 分) my_list = [4,7,8,10] my_list.append(9) my_list.remove(10) print(my 2024-09-17
15 output.py文件和test.py文件内容如下,且output.py和test.py位于同一文件夹中,那么运行test.py的输出结果是(      )。A #output. 2024-08-09
16 14.下列各语句输出结果为True的是?( ) A.print((0>1)or(2>1)) B.print(not 1) C.print((1>=0)and(1>=2)) 2024-07-28
17 11.假设a="吉祥";b="如意";c="a"+"b";print(c),请问输出结果是?( ) A.吉祥如意 B 2024-07-28
18 语句print('x=${:7.2f}'.format(123.5678))执行后的输出结果是(      )。选项中的□代表空格。 A.x=□123.56         2024-07-22
19 17. 已知列表a=[1,2,3,4,5],下列语句输出结果为False的是?( ) A、print(a[3]==a[-2]) B、print(a[:3]==a[:-2]) C、print(a[ 2024-06-25
20 31. print(type("6.78")),输出结果是6.78。( ) 正确   ​​​​​​​错误    2024-06-09
21 12. print(8/4 == 8.0//4),请问输出结果是?( ) A.2  B.2.0  C.False  D.True 2024-06-09
22 第 3 题 cout << (8< 9< 10) 的输出结果为 true 。 2024-05-19
23 for i in range(1,5,5):   print(i) 输出结果为 A 0 B 2 C 1 D 5 2024-04-16
24 4. 下列选项的输出结果为 True 的是? A. 2>0 and 3<0 or 3<0 B. 2>0 or 3<0 and 3<0 C. not ('1 2024-03-05
25 第 4 题 下列选项的输出结果为 True 的是? A. 2>0 and 3<0 or 3<0 B. 2>0 or 3<0 and 3<0 C. not (&#03 2024-03-05