In this video I solve this problem using recursion and the ternary operator
Watch video Python - Sum Of Digits/Digital Root | Codewars 6KYU online without registration, duration hours minute second in high quality. This video was added by user Wrt Tech 18 June 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 774 once and liked it 13 people.