response = input("Do you want to calculate the volume of a cylinder or the volume of a cuboid? (CL OR CU) ") realPi = float(3.14159) def cylindervol(radius,length): realVolume = realPi*realRadius*realLength print('The volume of the cylinder is ') print(realVolume) while str.lower(response)=="cl": realRadius=float(input('enter the radius of the cylinder :')) realLength=float(input('enter the length of the cylinder :')) cylindervol(realRadius,realLength) strCalculate=input('do you want to calculate another? (y or n)') print('thank you for using the cylinder calculator')