Draft
Find the Digit Sum of the LCM
90Spherixo
Description:
In this exercise, write a function that takes two numbers, a
and b
, and returns the digit sum of their LCM (Lowest Common Multiple). If the digit sum remains over 9, take the digit sum of that. However, the numbers will never be big enough where you need to do it more than twice.
The parameters passed will only be positive integers above 0.
For example, if the given parameters are 7
and 12
, the LCM of them is 84
, and the digit sum of 84 is 12 -> 3
. So, the function should return 3
.
Similar Kata:
Stats:
Created | Mar 17, 2017 |
Warriors Trained | 209 |
Total Skips | 39 |
Total Code Submissions | 364 |
Total Times Completed | 90 |
Python Completions | 90 |
Total Stars | 3 |
% of votes with a positive feedback rating | 83% of 55 |
Total "Very Satisfied" Votes | 39 |
Total "Somewhat Satisfied" Votes | 13 |
Total "Not Satisfied" Votes | 3 |
Total Rank Assessments | 51 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 1 kyu |
Lowest Assessed Rank | 8 kyu |