'Hello world'.swapcase().swapcase()
举一反三
- 表达式 'Hello world'.swapcase().swapcase() 的值为______________。
- 下面代码的运行结果是( )。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"
- 如何使用 PHP 输出 "hello world"?( ) A: "Hello World"; B: echo "Hello World"; C: Document.Write("Hello World"); D: console.log("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'
- hello world='hello world'