Python implement a class sodacan with methods getsurfacearea() and

 

1.     Implement a class SodaCan with methods getSurfaceArea() and getVolume(). In the constructor, supply the height and radius of the can. 5 pts

Surface Area = (2* pi * radius * height) + (2 * pi * radius2)

Volume = pi * radius2 * height

Use the following to run your class:

can = SodaCan (2,4)

print(“The volume of the can is”, can.getVolume())

print(“The surface area of the can is”, can.getSurfaceArea())

a)    Your code with comments

b)    A screenshot of the execution

Calculate your order
Pages (275 words)
Standard price: $0.00
Client Reviews
4.9
Sitejabber
4.6
Trustpilot
4.8
Our Guarantees
100% Trustworthy
Information about client is confidential and never disclosed to third parties.
Original Writing
We complete all papers from scratch. You can get a plagiarism report.
Timely Delivery
No missed deadlines – 97% of assignments are completed in time.
Money Back
If you're confident that a writer didn't follow your order details, ask for a refund.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Power up Your Academic Success with the
Team of Professionals. We’ve Got Your Back.
Power up Your Study Success with Experts We’ve Got Your Back.