python中,“hello”[:-1:]的值是()A、"olleh"B、"hello"C、"hell"D、"o"
python中,“hello”[:-1:]的值是()
- A、"olleh"
- B、"hello"
- C、"hell"
- D、"o"
相关考题:
下列程序的输出结果是( )。 #includediostream usingnamespacestd; intmain() { chara[]="Hell0,Test"; char*p=a; while(*p) { if(*p=a&&*p=z) coutchar(*p+A-a); elsecout*P; p++; } return0; }A.hello,testB.Hello,TestC.HELLO,TESTD.hELLO,tEST
在VBA中,下列变量名中不合法的是( )。 A.HelloB.Hello WorldC.3hello 在VBA中,下列变量名中不合法的是( )。A.HelloB.Hello WorldC.3helloD.Hell0—World
Sql server提供了一些字符串函数,以下说法错误的是()。A、selec tright(’hello’,3)返回值为:helB、selec tltrim(rtrim(’hello’))返回值为:hello(前后都无空格)C、selec treplace(’hello’,’e’,’o’)返回值为:holloD、selec tlen(’hello’)返回值为:5
单选题为了能调试hello.c程序需要在编译程序时将调试信息加入到可执行文件中,则执行()Agcc–o hello hello.cBgcc–g hello.c–o helloCgcc hello.cDgcc–b hello.c–o hello
单选题Sql server提供了一些字符串函数,以下说法错误的是()。Aselec tright(’hello’,3)返回值为:helBselec tltrim(rtrim(’hello’))返回值为:hello(前后都无空格)Cselec treplace(’hello’,’e’,’o’)返回值为:holloDselec tlen(’hello’)返回值为:5
单选题SQL server提供了一些字符串函数,以下说法错误的是()。Aselectright(’hello’,3)返回值为:helBselectltrim(rtrim(’hello’))返回值为:hello(前后都无空格)Cselectreplace(’hello’,’e’,’o’)返回值为:holloDselectlen(’hello’)返回值为:5
填空题表达式’Hello world.I like Python.’.rfind(’python’)的值为()。