program in python to enter value of x, y, z from user and calculate the equation


Write a program in python to enter value of x, y, z from user and calculate the equation    


x=int(input("Enter the value of x : "))
y=int(input("Enter the value of y : "))
z=int(input("Enter the value of z : "))
fx=4*pow(x,4)+3*pow(y,3)+9*pow(z,2)+6*3.14
print("Answer of Given Equation is : ",fx)


Output:-

Enter the value of x : 4
Enter the value of y : 3
Enter the value of z : 5

Answer of Given Equation is :  1348.84

Post a Comment

0 Comments