• 2022-06-06 问题

    93.I will accept any job [ ] I don’t have to get up early. A: as soon as B: as long as C: as well as D: as early as

    93.I will accept any job [ ] I don’t have to get up early. A: as soon as B: as long as C: as well as D: as early as

  • 2022-06-15 问题

    下面代码的输出结果是: 。ls = [[1,3,6],[4,6,3],[2,8,5]]sum1,sum2 = 0,0for i in range(3):sum1 = sum1 + ls[i][i]sum2 = sum2 + ls[i][2-i]print("sum1={},sum2={}".format(sum1,sum2))[/i][/i][/i]

    下面代码的输出结果是: 。ls = [[1,3,6],[4,6,3],[2,8,5]]sum1,sum2 = 0,0for i in range(3):sum1 = sum1 + ls[i][i]sum2 = sum2 + ls[i][2-i]print("sum1={},sum2={}".format(sum1,sum2))[/i][/i][/i]

  • 2022-06-01 问题

    已知x=[[1,2,3],[4,5,6]],表达式[[row[i] for row in x] for i in range(len(x[0]))]的值为(______ )。[/i]

    已知x=[[1,2,3],[4,5,6]],表达式[[row[i] for row in x] for i in range(len(x[0]))]的值为(______ )。[/i]

  • 2022-06-06 问题

    以下程序的输出结果是 main() { int i, k, a&#91;10&#93;, p&#91;3&#93;; k=5; for (i=0;i<10;i++) a&#91;i &#93;=i; for (i=0;i<3;i++) p&#91;i &#93;=a&#91;i *(i+1)&#93;; for (i=0;i<3;i++) k+=p[i] *2; printf("%d ",k); }[/i]

    以下程序的输出结果是 main() { int i, k, a&#91;10&#93;, p&#91;3&#93;; k=5; for (i=0;i<10;i++) a&#91;i &#93;=i; for (i=0;i<3;i++) p&#91;i &#93;=a&#91;i *(i+1)&#93;; for (i=0;i<3;i++) k+=p[i] *2; printf("%d ",k); }[/i]

  • 2022-06-04 问题

    已知x=&#91;&#91;1,2,3&#93;,&#91;4,5,6&#93;&#93;,表达式sum(&#91;i*j for i,j in zip(*x)&#93;)的值为(______ )。

    已知x=&#91;&#91;1,2,3&#93;,&#91;4,5,6&#93;&#93;,表达式sum(&#91;i*j for i,j in zip(*x)&#93;)的值为(______ )。

  • 2022-06-16 问题

    下面代码的运行结果是_____________。 public class Test{ public static void main(String&#91;&#93; args){ int&#91;&#93; a=new int&#91;3&#93;; int&#91;&#93; b= new int&#91;&#93;{1,2,3,4,5}; a=b; for(int i=0; i<b.length; i++){ System.out.print(a[i]+" "); } } }[/i]

    下面代码的运行结果是_____________。 public class Test{ public static void main(String&#91;&#93; args){ int&#91;&#93; a=new int&#91;3&#93;; int&#91;&#93; b= new int&#91;&#93;{1,2,3,4,5}; a=b; for(int i=0; i<b.length; i++){ System.out.print(a[i]+" "); } } }[/i]

  • 2022-06-16 问题

    下面代码的运行结果是。 public class Test { public static void main(System&#91;&#93; args){ int&#91; &#93; a ={10,20,30}; int&#91; &#93; b ={1,2,3,4,5}; a=b; for (int i=0;i<a.length;i++){ System.out.print(a[i]+” ”); } } }[/i]

    下面代码的运行结果是。 public class Test { public static void main(System&#91;&#93; args){ int&#91; &#93; a ={10,20,30}; int&#91; &#93; b ={1,2,3,4,5}; a=b; for (int i=0;i<a.length;i++){ System.out.print(a[i]+” ”); } } }[/i]

  • 2022-05-28 问题

    &#91;音频&#93;I've been ________________ , but I'm _________________ .

    &#91;音频&#93;I've been ________________ , but I'm _________________ .

  • 2022-05-26 问题

    以下函数的功能是连接两个字符串,请完善程序。void str_cat(char str1&#91; &#93;, char str2&#91; &#93;, char str&#91; &#93;){ int i,j; for(i=0;str1[i]!= '0';i++) str[i]=str1[i]; for(j=0;str2&#91;j&#93;!='0';j++) str&#91;i++&#93;=str2&#91;j&#93;; ; }[/i][/i][/i] A:

    以下函数的功能是连接两个字符串,请完善程序。void str_cat(char str1&#91; &#93;, char str2&#91; &#93;, char str&#91; &#93;){ int i,j; for(i=0;str1[i]!= '0';i++) str[i]=str1[i]; for(j=0;str2&#91;j&#93;!='0';j++) str&#91;i++&#93;=str2&#91;j&#93;; ; }[/i][/i][/i] A:

  • 2022-06-16 问题

    以下程序的输出结果是【 】。 class Program { public static void Main(string&#91;&#93; args) { int&#91;&#93; a = new int&#91;3&#93; { 1, 2, 3 }; for (int i = 0; i < 3; i++) Console.Write("{0} ", a[i]); Console.WriteLine(); int&#91;&#93; b = a; for (int i = 0; i < 3; i++) b[i] = 2 * b[i]; for (int i = 0; i < 3; i++) Console.Write("{0} ", a[i]); Console.WriteLine(); Console.Read(); } }[/i][/i][/i][/i]

    以下程序的输出结果是【 】。 class Program { public static void Main(string&#91;&#93; args) { int&#91;&#93; a = new int&#91;3&#93; { 1, 2, 3 }; for (int i = 0; i < 3; i++) Console.Write("{0} ", a[i]); Console.WriteLine(); int&#91;&#93; b = a; for (int i = 0; i < 3; i++) b[i] = 2 * b[i]; for (int i = 0; i < 3; i++) Console.Write("{0} ", a[i]); Console.WriteLine(); Console.Read(); } }[/i][/i][/i][/i]

  • 1 2 3 4 5 6 7 8 9 10