已知函数[tex=8.571x1.286]FcuFAfEAIkfRS+6NSn8w0wKyqlm71jSoZ07W7Cj47NdO6RGfsb2kQ9H0ZPbywKDY[/tex],求[tex=2.0x1.286]TNB+PKJBlx2zTZf4tOS0qiLKy0ffwBbXFkfiW6dUfp0=[/tex]。
举一反三
- set1 = {x for x in range(10) if x%2==0} print(set1) 以上代码的运行结果为? A: {0, 2, 4, 6} B: {2, 4, 6, 8} C: {0, 2, 4, 6, 8} D: {4, 6, 8}
- >>>x= [10, 6, 0, 1, 7, 4, 3, 2, 8, 5, 9]>>>print(x.sort()) 语句运行结果正确的是( )。 A: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] B: [10, 6, 0, 1, 7, 4, 3, 2, 8, 5, 9] C: [10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0] D: ['2', '4', '0', '6', '10', '7', '8', '3', '9', '1', '5']
- 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}
- 如上图所示实例,以下测试用例哪一组不能够满足判定覆盖________。 A: (a=2,b=0,x=6)、(a=1,b=0,x=1) B: (a=2,b=0,x=4)、(a=3,b=0,x=2) C: (a=2,b=2,x=2)、(a=3,b=0,x=6) D: (a=2,b=0,x=6)、(a=2,b=0,x=4)
- list(range(-1,10,2)) A: [0, 2, 4, 6, 8, 10] B: [-1, 1, 3, 5, 7, 9] C: [0, 2, 4, 6, 8]