[tex=37.714x1.286]MiWsbqe1OMxFKd+0pTFbo+uuVhDefz8Zw02fVUg28TxcGWYCg2sNniLeXl4UiKEO3XUjWOVvadROFb1+62UKGt6SlTojv3UiB/gA0fj5i6gAT9ytIdMwZvbWX6Vkld+edCJRoevnuP67bFuM0povrbP5piTmhEB7uEATumRfLPY=[/tex]
举一反三
- 以下程序段实现的输出是()。for(i=0;i<;=9;i++)s[i]=i;for(i=9;i>;=0;i--)printf("%2d",s[i]);[/i][/i] A: 9 7 5 3 1 B: 1 3 5 7 9 C: 9 8 7 6 5 4 3 2 1 0 D: 0 1 2 3 4 5 6 7 8 9
- set1 = {x for x in range(10)} print(set1) 以上代码的运行结果为? A: {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} B: {0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10} C: {1, 2, 3, 4, 5, 6, 7, 8, 9} D: {1, 2, 3, 4, 5, 6, 7, 8, 9,10}
- 【计算题】5 ×8= 6×4= 7×7= 9×5= 2×3= 9 ×2= 8×9= 7×8= 5×5= 4×3= 5+8= 6 ×6= 3×7= 4×8= 9×3= 1 ×2= 9×9= 6×8= 8×0= 4×7=
- for (int i = 1; i <= 10; i++){ if (i % 5 != 0) continue; Console.WriteLine("{0}", i); }该段程序执行后输出_____。 A: 5 10 B: 1 2 3 4 6 7 8 9 C: 5 D: 1 2 3 4 5 6 7 8 9 10
- 下面语句的输出结果是?range(len('HelloWorld')) A: [1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11] B: 11 C: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] D: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]