def main():
result1=cubeVolume(2)
result2=cubeVolume(10)
print("side length 2 equals",result1)
print("side legnth 10 equals",result2)
def cubVolume(sidelength):
volume = sideLength**3
return volume
main()
我说这在以下序列行中执行是否正确?
9,1,2,6,7,8,3,4,5