6. To input value of A and B and find ( a+b )²
Hint : (a + b) = (a + b) × (a + b)
Answers
Answered by
0
Answer:
a²+b²+2ab
Explanation:
a(a+b)+b(a+b)
=a²+ab+ba+be
=a²+2ab+b²
Answered by
0
Answer:
A= int(input("Enter any value:"))
B= int(input("Enter any value:"))
S=(A+B)*(A+B)
print("the value of (",A,"+",B,")^2 is",S)
PLEASE MARK ME AS BRAINLIEST
THANK YOU!
Similar questions