单选题

已知:s = 'pythonnohtyp',执行 print(s.index('h') + s.rindex('n')) 语句后,输出的结果是(   )。

A

-2

B

-3

C

9

D

11

赣ICP备20007335号-2