weeklychallenge
I Contain Multitudes: Returning Multiple Values (in Go, Python, and Perl)
Weekly Challenge 359 Task 1: Digital Root: You are given a positive integer, $int. Write a function that calculates the additive persistence of a positive integer and also return the digital root. Digital root is the recursive sum of all digits in a number until a single digit is obtained.