![](https://lstatic.shangxueba.com/jiandati/h5/images/m_q_title.png)
[主观题]
以下程序的输出结果为_________________。 s="ab123de4" for i in s: if i.isupper(): #字符串的isupper方法用于判断字符串中的字符是否全为大写字母 print('yes') break else: print('no')
提问人:网友goodgoodxx
发布时间:2022-01-07
A.4.56789e+008
B.4.78912e+006
C.4,56,789,123
D.4,56.789
A.当a>1时什么也不输出
B.将输出1个正整数
C.当a<=1时整个循环结束
D.运行后无任何结果
#include
main(int argc, char *argv[ ])
{ int i=1,n=0;
while (i< argc) {n=n+strIen (angv[i ] ) ;i++; }
printf("%d\n",n);
}
该程序生成的可执行文件名为: proc.exe 。若运行时输入命令行:
proc 123 45 67
则程序的输出结果是
A)3
B)5
C)7
D)11
A、n=3844
B、n=3804
C、n=4
D、n=f04
A、b,c,d
B、b,d,d
C、d,e,f
D、b,d,b
A、['Mike', 'Peter']
B、['M', 'P']
C、['Peter']
D、['P']
A、['b', 'a', 5, 4, 3, 2, 1]
B、[0, 1, 2, 3, 4, 5, 'a', 'b']
C、[0, 1, 2, 3, 4, 5, 'b']
D、['b', 5, 4, 3, 2, 1, 0]
A、[3, 4, 5]
B、[4, 5]
C、[3]
D、[5]
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!