Write a python program to imput the value of a,b and c and display the value of the expression : (a²- b²) + abc(a²b+b²c+c²a)
Answers
Answered by
0
Program:
a = int(input("Enter a: "))
b = int(input("Enter b: "))
c = int(input("Enter c: "))
exp = (pow(a,2)-pow(b,2))+a*b*c*(pow(a,2)*b +pow(b,2)*c+pow(c,2)*a)
print("Answer: ", exp)
Attachments:
Similar questions