Sum of Squares Calculation

  • Share this:

Code introduction


Calculate the sum of the squares of two numbers


Technology Stack : No packages used

Code Type : Mathematical function

Code Difficulty :


                
                    
def sum_of_squares(num1, num2):
    return num1**2 + num2**2                
              
Tags: