Sum of Squares Function

  • Share this:

Code introduction


Define a function that takes two arguments and returns the sum of their squares.


Technology Stack : Built-in functions, defining functions

Code Type : Function

Code Difficulty : Intermediate


                
                    
def aaaa(arg1, arg2):
    def bbb(arg):
        return arg ** 2
    return bbb(arg1) + bbb(arg2)