求出 [tex=19.5x1.5]CKlOGn/4oc+CIjd/NrEXYL4dkmrBlW2GCC51Nn4jxKCsCQQs0kC5W8MRNDQYOdqMOUY3YzFfAg6pqV6HqP5U0FsSPwznyBbTjydSKtfDqzOXIM1u8ywh09b+D5whilglDFnGss2Mluv0EieYFSG/sQ==[/tex]的规范形.
举一反三
- >>>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']
- “[ 2*x+2 for x in range(5) ]”生成的列表是( )。 A: [2, 4, 6, 8, 10] B: [0, 2, 4, 6, 8] C: [1, 2, 3, 4, 5] D: [0, 1, 2, 3, 4]
- 如下代码运行后的输出结果是()。 ls = list(range(6)) ls.append(8) print(ls) A: [1, 2, 3, 4, 5, 6, 8] B: [0, 1, 2, 3, 4, 5, 8] C: [8, 1, 2, 3, 4, 5, 6] D: [8, 0, 1, 2, 3, 4, 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}
- 【计算题】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=