判断题

下面三行代码可以正常执行。( )

txt1 = "黑白白白黑白黑白黑白黑白"

a = txt1.count("白") - txt1.count("黑")
print(a)

A

B

赣ICP备20007335号-2