单选题

执行以下程序,输出的结果是 (  )。

str = "1232abcr312unoob213212"

tu = "12"

print (str.strip(tu).count("2"))

A

4

B

3

C

2

D

1

赣ICP备20007335号-2