HacktoberFest2021
HacktoberFest2021 copied to clipboard
Different method
Added a different method to find sum of digits. The given number is split into list of digits and sum of the list of digits is printed. Number of steps can be reduced.