单项选择题list(map(abs,[1,-2,-5]))返回值为()。

A.[1,-2,-5]
B.[-1,-2,-5]
C.[1,2,5]
D.[-1,2,5]


您可能感兴趣的试卷

你可能感兴趣的试题

2.单项选择题替换的方法是下列哪一个关键字()。

A.replace
B.islower
C.strip
D.lstrip

3.单项选择题去除字符串中左侧的空格应使用()。

A.replace
B.islower
C.strip
D.lstrip

4.单项选择题验证码一种区分用户是计算机还是人()。

A.方法
B.程序
C.属性
D.元素

5.单项选择题表达式max(‘hello’)的值是()。

A.h
B.e
C.l
D.o

6.单项选择题print(’hello’[::-2])的值是()。

A.olh
B.hel
C.llo
D.hlo

7.单项选择题print(‘hello’[::-2])的值是()。

A.olh
B.hel
C.llo
D.hlo

8.单项选择题len(‘helloworld’)的值是()。

A.9
B.10
C.11
D.12

9.单项选择题生成所有字母的关键字是()。

A.ascii
B.unicode
C.ascii_letters
D.digits

10.单项选择题string模块中生成所有数字的关键字是()。

A.ascii
B.unicode
C.ascii_letters
D.digits