Program 17
Write a function called sum_digits that is given an integer num and returns the sum of the digits of num.
Program:
Output: