• 2022-11-02
    print(input().split()[2][1]) 输入为 abc def 1234 567 输出是:
    A: abc
    B: def
    C: 2
    D: d
  • A

    内容

    • 0

      以下程序的输出结果是: ls=[[1,2], 'python', [[3,4,'A'],5],[0,7]] print(ls[2][1]) A: 'A' B: p C: 3 D: 5

    • 1

      What will be the output of the following Python code? [br][/br]print("abc DEF".capitalize()) A: abc def B: ABC DEF C: Abc def D: Abc Def

    • 2

      如下程序的输出结果是:L1 =[‘abc’, [‘123’,‘456’]]L2 = [‘1’,‘2’,‘3’]print(L1 >; L2) A: False B: TypeError: ‘>;’ not supported between instances of ‘list’ and ‘str’ C: 1 D: True

    • 3

      以下程序的输出结果是: L1 =['abc', ['123','456']] L2 = ['1','2','3'] print(L1 > L2) A: TypeError: '>' not supported between instances of 'list' and 'str' B: False C: True D: 1

    • 4

      以下代码的输出结果是(_____)。L1 =['abc', ['123','456']] L2 = ['1','2','3'] print(L1 > L2) A: False B: True C: TypeError: '>' not supported between instances of 'list' and 'str' D: 1