单选题切片操作list(range(6))[::-1]()A [0,1,2,3,4,5]B [5,4,3,2,1,0]C [1,2,3,4,5]D [5,4,3,2,1]

题目
单选题
切片操作list(range(6))[::-1]()
A

[0,1,2,3,4,5]

B

[5,4,3,2,1,0]

C

[1,2,3,4,5]

D

[5,4,3,2,1]


相似考题
更多“切片操作list(range(6))[::-1]()”相关问题
  • 第1题:

    已知列表x=list(range(10)),那么执行语句delx[::2]之后,x的值为_________。


    正确答案:[1,3,5,7,9]

  • 第2题:

    Python语句list(range(1,10,3))执行结果为___________________。


    正确答案:[1,4,7]

  • 第3题:

    以下哪些结果一定是一个一维列表[’1’,’2’,’3’]?()

    • A、list("123")
    • B、map(unicode,range(1,3))
    • C、[("1"),("2"),("3")]
    • D、[("1",),("2",),("3",)]

    正确答案:A,C

  • 第4题:

    要选择列表框List1的第6项,可以使用语句()。

    • A、List1.Selected(6)=True
    • B、List1.Selected(5)=True
    • C、List1.ListIndex=5
    • D、List1.Selected=5

    正确答案:B,C

  • 第5题:

    已知列表x=list(range(10)),那么执行语句delx之后,x消失。


    正确答案:正确

  • 第6题:

    Which of the following can be used in conjunction with a Flashback Versions Query to filter the results?()

    • A、 A range of SCN values
    • B、 A list of SCN values
    • C、 A starting and ending timestamp
    • D、 Minimum and maximum sequence values
    • E、 A list of sequence values

    正确答案:A,C

  • 第7题:

    填空题
    已知x=list(range(20)),那么表达式x[-1]的值为()。

    正确答案: 19
    解析: 暂无解析

  • 第8题:

    填空题
    Python语句list(range(1,10,3))执行结果为()。

    正确答案: [1, 4, 7]
    解析: 暂无解析

  • 第9题:

    填空题
    已知x=list(range(20)),那么执行语句x[:18]=[]后列表x的值为()。

    正确答案: [18, 19]
    解析: 暂无解析

  • 第10题:

    判断题
    已知x=list(range(20)),那么语句delx[::2]可以正常执行。
    A

    B


    正确答案:
    解析: 暂无解析

  • 第11题:

    填空题
    表达式list(filter(lambdax:x%2==0,range(10)))的值为()。

    正确答案: [0, 2, 4, 6, 8]
    解析: 暂无解析

  • 第12题:

    多选题
    Which three operations can be performed as multipartition operations in Oracle?()
    A

    Merge partitions of a list partitioned table

    B

    Drop partitions of a list partitioned table

    C

    Coalesce partitions of a hash-partitioned global index.

    D

    Move partitions of a range-partitioned table

    E

    Rename partitions of a range partitioned table

    F

    Merge partitions of a reference partitioned index


    正确答案: C,E
    解析: 暂无解析

  • 第13题:

    表达式list(range(5))的值为________________。


    正确答案:[0,1,2,3,4]

  • 第14题:

    Which three operations can be performed as multipartition operations in Oracle?()

    A. Merge partitions of a list partitioned table

    B. Drop partitions of a list partitioned table

    C. Coalesce partitions of a hash-partitioned global index.

    D. Move partitions of a range-partitioned table

    E. Rename partitions of a range partitioned table

    F. Merge partitions of a reference partitioned index


    参考答案:A, B, F

  • 第15题:

    切片操作list(range(6))[::-1]()

    • A、[0,1,2,3,4,5]
    • B、[5,4,3,2,1,0]
    • C、[1,2,3,4,5]
    • D、[5,4,3,2,1]

    正确答案:B

  • 第16题:

    v=list(range(2,10,3)),则v的值是()

    • A、[2,4,6]
    • B、[2,6,10]
    • C、[2,5,8]
    • D、[2,5,10]

    正确答案:C

  • 第17题:

    list(range(10))[2:5]的值是()。

    • A、[1,3,4]
    • B、[2,3,4]
    • C、[0,3,4]
    • D、[2,3,5]

    正确答案:B

  • 第18题:

    Which three operations can be performed as multipartition operations in Oracle?()

    • A、Merge partitions of a list partitioned table
    • B、Drop partitions of a list partitioned table
    • C、Coalesce partitions of a hash-partitioned global index.
    • D、Move partitions of a range-partitioned table
    • E、Rename partitions of a range partitioned table
    • F、Merge partitions of a reference partitioned index

    正确答案:A,B,F

  • 第19题:

    多选题
    Which of the following can be used in conjunction with a Flashback Versions Query to filter the results?()
    A

    A range of SCN values

    B

    A list of SCN values

    C

    A starting and ending timestamp

    D

    Minimum and maximum sequence values

    E

    A list of sequence values


    正确答案: B,D
    解析: 暂无解析

  • 第20题:

    填空题
    切片操作list(range(6))[::2]执行结果为()。

    正确答案: [0, 2, 4]
    解析: 暂无解析

  • 第21题:

    单选题
    切片操作list(range(6))[::-1]()
    A

    [0,1,2,3,4,5]

    B

    [5,4,3,2,1,0]

    C

    [1,2,3,4,5]

    D

    [5,4,3,2,1]


    正确答案: C
    解析: 暂无解析

  • 第22题:

    单选题
    list(range(10))[2:5]的值是()。
    A

    [1,3,4]

    B

    [2,3,4]

    C

    [0,3,4]

    D

    [2,3,5]


    正确答案: C
    解析: 暂无解析

  • 第23题:

    填空题
    表达式list(range(50,60,3))的值为()。

    正确答案: [50, 53, 56, 59]
    解析: 暂无解析

  • 第24题:

    单选题
    v=list(range(2,10,3)),则v的值是()
    A

    [2,4,6]

    B

    [2,6,10]

    C

    [2,5,8]

    D

    [2,5,10]


    正确答案: D
    解析: 暂无解析