ls=list(map(int,(input().split())))
print(ls.count(0))
思路:
step1.用map()函数实现类型转化,返回一个整型列表。
step2.输出count()方法统计错误次数(即0)的结果。