Task: write a function, the argument of which is a number (can be both fractional and integer), and the result is the sum of all digits
сal(123) = 1+2+3 = 6 cal(123.45) = 1+2+3+4+5 = 15 The catch is that you cannot use any methods, cycles. Only recursion. Maybe there is someone who knows the solution?