Write function which will take 2 variables as input and produce sum of squares of each

variable as result.​

Write function which will take 2 variables as input and produce sum of squares of each

variable as result.​

About the author
Faith

1 thought on “Write function which will take 2 variables as input and produce sum of squares of each<br /><br />variable as result.​”

  1. Answer:

    the solution (in python) is as follows

    Explanation:

    def sumOfSquares:

    a = int(input(“enter the first number”))

    b = int(input(“enter the second number”))

    sq1 = [tex]a^{2}[/tex]

    sq2 = [tex]b^{2}[/tex]

    print(sq1 + sq2)

    Reply

Leave a Reply to Ximena Cancel reply