SkillAgentSearch skills...

Cubs

No description available

Install / Use

/learn @smailyk83/Cubs
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

cubs

class Cuboid: def init(self, length, width, height): self.length = length self.width = width self.height = height

def volume(self):
    return self.length * self.width * self.height

def surface_area(self):
    return 2 * (self.length * self.width + self.length * self.height + self.width * self.height)

def main(): length = float(input("Enter the length of the cuboid: ")) width = float(input("Enter the width of the cuboid: ")) height = float(input("Enter the height of the cuboid: "))

cuboid = Cuboid(length, width, height)

print("Volume of the cuboid:", cuboid.volume())
print("Surface area of the cuboid:", cuboid.surface_area())

if name == "main": main()

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated11mo ago
Forks0

Security Score

57/100

Audited on Apr 20, 2025

No findings