You can download this code by clicking the button below.
This code is now available for download.
Calculates and returns the sum of squares of all input arguments.
Technology Stack : Built-in functions, generator expressions
Code Type : Function
Code Difficulty : Intermediate
def sum_squares(*args):
return sum(x*x for x in args)