下列代码执行后,新字符串的值是()
A: Hello to you!
B: Hello World!
C: Hello World!!
D: Hello tWorld!
A: Hello to you!
B: Hello World!
C: Hello World!!
D: Hello tWorld!
举一反三
- 执行下列代码后,新字符串中的结果是() A: HELLO WORLD! B: Hello World! C: HELLO WORLD1 D: hELLO wORLD!
- 执行下列代码后,结果字符串中的输出是() A: Hello World! B: World!Hello C: Hello D: World!
- 执行下列语句后的显示结果是( )world="world"print("hello"+world) A: helloword B: "hello"world C: hello world D: "hello"+world
- 若字符串 s = 'hello world',则语句 s.ljust(15, '.') 和 s.rjust(15) 的输出结果为? A: '....hello world'' hello world' B: 'hello world....'' hello world' C: 'hello world....''hello world ' D: 'hello world....''hello world'
- 下面代码的运行结果是( )。var str= "hello world" ;var str1=str.toUpperCase();var str2=str.toLowerCase() ;alert (str1) ;alert (str2) ; A: "HELLO WORLD","HELLO WORLD" B: "HELLO WORLD","hello world" C: "hello worl","HELLO WORLD" D: "hello world","hello world"