單項選擇題print(’hello’[::-2])的值是()。

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


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題print(‘hello’[::-2])的值是()。

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

2.單項選擇題len(‘helloworld’)的值是()。

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

3.單項選擇題生成所有字母的關鍵字是()。

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

4.單項選擇題string模塊中生成所有數字的關鍵字是()。

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

5.多項選擇題下列是字符串的方法的是()。

A.find
B.replace
C.list
D.isdigit