• 2022-06-10
    以下字符串合法的是
    A: ‘abc'def'
    B: "I love python"
    C: "I"love"python"
    D: 'python"
  • B

    内容

    • 0

      以下字符串合法的是? A: "I love Python' B: "I "love" Python" C: "abe 'defgh" D: 'I love' Python"

    • 1

      以下字符串合法的是(). A: "abe 'def'ghi" B: "I love"love" Python" C: "I love Python' D: 'I love' Python "

    • 2

      字符串 s = “I love Python”,以下程序的输出结果是: s = “I love Python” ls = ssplit() lsreverse() print(ls) A: ‘Python’, ‘love’, ‘I’ B: Python love I C: None D: [‘Python’, ‘love’, ‘I’]

    • 3

      字符串 s = “I love Python”,以下程序的输出结果是( )。s = "I love Python" ls = s.split() print(ls) A: ‘I’, ‘love’, ‘Python’ B: I love Python C: None D: D. [‘I’, ‘love’,‘Python’ ]

    • 4

      var str = " I love java Java java"; var str1 = str.replace(/java/i,"python"); 则str1的值是(): I love java python java|I love python Java java|I love python Java python|I love python python python