📅  最后修改于: 2022-03-11 15:00:09.778000             🧑  作者: Mango
list1=list()
print('Enter the next number(0 to finish)')
while True:
nr=input()
if nr.isdigit():
if int(nr)!=0:
list1.append(int(nr))
else:
break
print(list1.count(3))