• 2022-06-01
    alist=[1,1,2,3] b=set(alist) print(b) 上述代码的输出结果是____
  • {1, 2, 3}

    内容

    • 0

      alist=[3,4,5,7,9,12,13,15,17] blist=alist[3:7:2] print(blist) 上述代码的输出结果是()

    • 1

      alist=[1,2,3]blist=alist*3print(blist)上述代码的输出结果是()。

    • 2

      下面代码的输出结果是‪‬‪‬‪‬‪‬‪‬‮‬‪‬‮‬‪‬‪‬‪‬‪‬‪‬‮‬‭‬‪‬‪‬‪‬‪‬‪‬‪‬‮‬‪‬‪‬‪‬‪‬‪‬‪‬‪‬‮‬‪‬‭‬ a = [1, 2, 3] b = a[:] print(b) A: [] B: [3,2,1] C: 0xF0A9 D: [1, 2, 3]

    • 3

      下面代码的输出结果是‪‬‪‬‪‬‪‬‪‬‮‬‪‬‫‬‪‬‪‬‪‬‪‬‪‬‮‬‪‬‪‬‪‬‪‬‪‬‪‬‪‬‮‬‫‬‪‬‪‬‪‬‪‬‪‬‪‬‮‬‭‬‪‬‪‬‪‬‪‬‪‬‪‬‮‬‪‬‪‬‪‬‪‬‪‬‪‬‪‬‮‬‫‬‭‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬‬a = [1, 2, 3]b = a[:]print(b) A: [] B: [1, 2, 3] C: [3,2,1] D: 0xF0A9

    • 4

      下面代码的输出结果是‪‬‪‬‪‬‪‬‪‬‮‬‪‬‮‬‪‬‪‬‪‬‪‬‪‬‮‬‭‬‪‬‪‬‪‬‪‬‪‬‪‬‮‬‪‬‪‬‪‬‪‬‪‬‪‬‪‬‮‬‪‬‭‬ a = [1, 2, 3] b = a[:] print(b) A: [] B: [3,2,1] C: 0xF0A9 D: [1, 2, 3]