交互式执行eval("'I Love Python'")的输出结果为'I Love Python'
举一反三
- 交互式执行eval(“’I Love Python’”)的输出结果为:________。
- 字符串 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’]
- 字符串 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’ ]
- "{a} Love {b} {c}".format(a="I", b="You", c="Python") 输出的结果是什么? A: I Love You Python B: {a}{b}{c} C: ‘I Love You Python’ D: abc
- 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