Draft

Find the Digit Sum of the LCM

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.

Stats:

CreatedMar 17, 2017
Warriors Trained209
Total Skips39
Total Code Submissions364
Total Times Completed90
Python Completions90
Total Stars3
% of votes with a positive feedback rating83% of 55
Total "Very Satisfied" Votes39
Total "Somewhat Satisfied" Votes13
Total "Not Satisfied" Votes3
Total Rank Assessments51
Average Assessed Rank
6 kyu
Highest Assessed Rank
1 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • Spherixo Avatar
  • anter69 Avatar
  • krnets Avatar
Ad