from Sphere import Sphere from Cuboid import Cuboid radius = int(input()) scolor = str(input()) l = float(input()) w = float(input()) h = float(input()) ccolor = str(input()) sphere = Sphere(radius) sphere.setColor(scolor) cuboid = Cuboid(l, w, h) cuboid.setColor(ccolor) print("{}({}),{},{}".format(sphere.__str__(), sphere.getRadius(), round(sphere.getVolume(), 1), sphere.getColor())) print("{}({},{},{}),{},{}".format(cuboid.__str__(), int(cuboid.getLength()), int(cuboid.getWidth()), int(cuboid.getHeight()), round(cuboid.getVolume(), 1), cuboid.getColor()))
from Cuboid import Cuboid from Sphere import Sphere radius = int(input()) c1 = input() length = float(input()) width = float(input()) height = float(input()) c2 = input() sphere = Sphere(radius, c1) cuboid = Cuboid(length, width, height, c2) print("{}({}),{},{}".format(sphere.__str__(), sphere.getRadius(), sphere.getVolume(), sphere.getColor())) print("{}({},{},{}),{},{}".format(cuboid.__str__(), int(cuboid.getLength()), int(cuboid.getWidth()), int(cuboid.getHeight()), cuboid.getVolume(), cuboid.getColor()))