Write a Python program to solve (x + y) * (x + y). I have used python 3.7 compiler for debugging purpose.
x, y = 5, 4 result = x * x + 2 * x * y + y * y print("({} + {}) ^ 2) = {}".format(x, y, result))
17 July 2019 2393 Written By: Rohit
© 2020 Tech Study. All rights reserved | Developed by Tech Study| Privacy Policy | Sitemap