python中,’hellO’.lower()的返回值是

题目

python中,’hellO’.lower()的返回值是

  • A、hello
  • B、HELLO
  • C、Hello
  • D、hellO
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

python中,函数的返回值的关键字是()

  • A、replace
  • B、index
  • C、find
  • D、return

正确答案:D

第2题:

"python"[-1]返回值为"n"。


正确答案:正确

第3题:

Python2.x和Python3.x中input()函数的返回值都是字符串。

此题为判断题(对,错)。


正确答案:×

第4题:

在Python程序中,以下那个选项表示字符串型常量()。

  • A、hello
  • B、“hello123”
  • C、“123”
  • D、“hello”

正确答案:B,C,D

第5题:

在python中,下列是字典的是()

  • A、"hello"
  • B、"{}"
  • C、{}
  • D、[]

正确答案:C

第6题:

python中,’HELLO’*5的值是()

  • A、"HELLOHELLOHELLOHELLOHELLO"
  • B、""
  • C、"HELLO"
  • D、None

正确答案:A

第7题:

python中,p=‘hello world!’,则p[2:5]的值是()

  • A、ll
  • B、llo
  • C、he
  • D、hello

正确答案:B

第8题:

下列不合法的Python变量名是()

A.Python2

B.N.x

C.sum

D.Hello_World


正确答案:B

第9题:

在Python中定义函数时不需要声明函数的返回值类型。


正确答案:正确

第10题:

python中,“hello”[:-1:]的值是()

  • A、"olleh"
  • B、"hello"
  • C、"hell"
  • D、"o"

正确答案:C