统计指定数字和

n=str(input())
p=str(input())
print(n.count(p)*int(p))

 

posted @ 2020-06-21 16:18  tf383838  阅读(128)  评论(0编辑  收藏  举报