Python help with attempt
I need help in solving the following in python: Write a python script that inputs 3 decimal numbers, a, b and c from the user. Calculate the result of the following equation and display the result. The output should be formatted the same as the sample run below. r= ((ab) + (bc) + (ca)) / (a+b+c)) Sample run: Enter a: 2.6 Enter b: 4.5 Enter c: 1.8 The result of the calculation is 2.75 My attempt was: a=str(input(âEnter a: â)) b=str(input (âEnter b: â)) c= str(input (âEnter c: â)) print (âThe result of the calculation is â + ((a*b) + (b*c) + (c*a)) / (a+b+c)) (i keep on getting errors for the last print part and I dont know how to ask the program to take only 2 numbers after the decimal point for the result of the calculation).