So im trying to make a program that asks for 3 numbers and then returns the product of those numbers (determining the volume of a cuboid)
def cuboid ():
A = input('Height '),
B = input('Width '),
C = input('Depth '),
So far this makes PYthon ask for the three values, but i don't know hot to tell python that they are not strings, but integers. i.e. i don't know how to use the int() command.
so if after that I type: Volume = A*B*Cit gives a TypeError because he thinks that 1,2 and 3 are not integers.
I don't know why it doesn't work that way, because a rough
def o3 (x,y,z):
print x*y*z
does work. Thanks in advance