I need the sum of all the outputs of Dm, but cannot use sum because it is not iterable. How do I go about getting the sum of all outputs?
def diff_calc(): # create al