• 2022-06-09 问题

    创建列表list=[1,2,3,4,5],观察下列选项,哪一个选项可以对列表list进行访问并且返回值为[1,2,3]? A: list[1:3] B: list[0:4] C: list[0:3] D: list[1:4]

    创建列表list=[1,2,3,4,5],观察下列选项,哪一个选项可以对列表list进行访问并且返回值为[1,2,3]? A: list[1:3] B: list[0:4] C: list[0:3] D: list[1:4]

  • 2022-06-08 问题

    表达式list(range______ )的值为(&#91;0,<br/>1, 2, 3, 4&#93;)。

    表达式list(range______ )的值为(&#91;0,<br/>1, 2, 3, 4&#93;)。

  • 2022-05-31 问题

    下列代码运行结果是? a = map(lambda x: x**3, &#91;1, 2, 3&#93;) list(a)

    下列代码运行结果是? a = map(lambda x: x**3, &#91;1, 2, 3&#93;) list(a)

  • 2022-06-28 问题

    已知列表ls = &#91;7,"Python", &#91;8,"LIST"&#93;, 9&#93;,则ls&#91;2&#93;&#91;-1&#93;&#91;3&#93;的运行结果是( ) A: [8,"LIST"] B: "T" C: "LIST" D: "Python"

    已知列表ls = &#91;7,"Python", &#91;8,"LIST"&#93;, 9&#93;,则ls&#91;2&#93;&#91;-1&#93;&#91;3&#93;的运行结果是( ) A: [8,"LIST"] B: "T" C: "LIST" D: "Python"

  • 2022-05-31 问题

    list=&#91;1,2,3&#93;,list&#91;-1&#93;的值为() A: 1 B: 3 C: 2 D: []

    list=&#91;1,2,3&#93;,list&#91;-1&#93;的值为() A: 1 B: 3 C: 2 D: []

  • 2022-06-04 问题

    表达式 list(map(lambda x: x+5, &#91;1, 2, 3, 4, 5&#93;)) 的值为_________。

    表达式 list(map(lambda x: x+5, &#91;1, 2, 3, 4, 5&#93;)) 的值为_________。

  • 2022-05-30 问题

    以下程序的输出结果是:list = &#91;"1","3" ,"5"&#93;def app(x):list. append(x)app( "7" )print( list)} A: ['1','3','5'] B: ['1','3','5','7'] C: ['7'] D: "1,3,5,7"

    以下程序的输出结果是:list = &#91;"1","3" ,"5"&#93;def app(x):list. append(x)app( "7" )print( list)} A: ['1','3','5'] B: ['1','3','5','7'] C: ['7'] D: "1,3,5,7"

  • 2021-04-14 问题

    Which one below is not included in the “Word of the Year” list? _______

    Which one below is not included in the “Word of the Year” list? _______

  • 2022-06-12 问题

    dict={'a':1, 'b':2, 'c':3} str=list(dict.keys())&#91;list(dict.values()).index(2)&#93; print(str) 输出结果是( ) A: a B: C: c D: 2

    dict={'a':1, 'b':2, 'c':3} str=list(dict.keys())&#91;list(dict.values()).index(2)&#93; print(str) 输出结果是( ) A: a B: C: c D: 2

  • 2022-06-08 问题

    中国大学MOOC: 表达式list(range(1, 10, 3)) == &#91;1, 4, 7&#93;的值为______

    中国大学MOOC: 表达式list(range(1, 10, 3)) == &#91;1, 4, 7&#93;的值为______

  • 1 2 3 4 5 6 7 8 9 10