At Westonci.ca, we connect you with experts who provide detailed answers to your most pressing questions. Start exploring now! Explore our Q&A platform to find reliable answers from a wide range of experts in different fields. Connect with a community of professionals ready to provide precise solutions to your questions quickly and accurately.

Write a python program to find the volume of the pepsi present in the can which is in the shape of cylinder accepting the radius and height of the can from user.(Note :Apply float input and display Radius ,Height, Volume of Pepsi in can)
(V = pi r^2 h )


Sagot :

Answer:

r=float(input("Enter radius: "))

h=float(input("Enter height: "))

v=3.14*r**2*h

print(r)

print(h)

print(v)

This is the answer, hope it helped!