design and implement a class called Sphere that contains an attribute named diameter that represents sphere's diameter.Initialize the diameter using__init__ method. Include functions that calculates and return the volume and surface area for the sphere. Test the class by creating atleast three objects.Radius:Diameter/2 , Volume of Sphere:(4/3)×3.14×RADIUS×RADIUS×RADIUS, Surface area of sphere: 4×3.14×RADIUS×RADIUS
Answers
Answered by
0
Answer:
Sphere नामक एक वर्ग को डिजाइन और कार्यान्वित करना जिसमें व्यास नाम का एक गुण होता है जो कि गोले के व्यास का प्रतिनिधित्व करता है ।_____ विधि का उपयोग करके व्यास का निरीक्षण करें। ऐसे कार्यों को शामिल करें जो गणना करता है
Similar questions
Science,
12 days ago
Social Sciences,
12 days ago
English,
24 days ago
Math,
24 days ago
English,
7 months ago