def sum_all(*num):
    for number in range(num):
        sq = pow(number,2)
        total = sum(sq)
    return total
I am trying to write a function that can take arbitrary arguments and return the sum of the squares of the argument...not sure how to cycle through the integer values in a tuple (also if the arguments were floats with decimals how would the code change?)
 
    