📅  最后修改于: 2022-03-11 14:58:16.687000             🧑  作者: Mango
Write a function named funcao_a, which takes an integer, n, and a digit a, and returns the number of times a appears in n. For example, funcao_a (183834, 8) should return 2.