func ( exercises write function called rectangle that takes two integers and as arguments and prints out an box consisting of asterisks shown below is the output of rectangle( , ****** (awrite function called add_excitement that takes list of strings and adds an exclamation point (!to the end of each string in the list the program should modify the original list and not return anything (bwrite the same function except that it should not modify the original list and should instead return new list write function called sum_digits that is given an integer num and returns the sum of the digits of num the digital root of number is obtained as followsadd up the digits to get new number add up the digits of that to get another new number keep doing this until you get number that has only one digit that number is the digital root for exampleif we add up the digits to get we then add up the digits of to get we then add up the digits of to get since has only one digit is our digital root write function that returns the digital root of an integer [notethere is shortcutwhere the digital root is equal to mod but do not use that here write function called first_diff that is given two strings and returns the first location in which the strings differ if the strings are identicalit should return - write function called binomthat takes two integers and and returns the binomial coefnficient nk the definition is nk !( - ) write function that takes an integer and returns random integer with exactly digits for instanceif is then and would be valid return valuesbut would not because that is really which is two-digit number write function called number_of_factors that takes an integer and returns how many factors the number has write function called factors that takes an integer and returns list of its factors write function called closest that takes list of numbers and number and returns the largest element in that is not larger than for instanceif =[ , , , , and = then the function should return because is the closest thing in to that is not larger than don' worry about if all of the things in are smaller than