Write function which will take 2 variables as input and produce sum of squares of each variable as result. About the author Faith
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
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)