google tradutor

Code Example - google tradutor

                
                        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.