请判断,下面3行代码,能否正确执行。( )
txt1 = "白黑黑白黑白白黑白黑白白"
a = txt1.count("白") - txt1.count("黑")
print(a)
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析