#define a function
Def cube(num)
#write the formula of cube
return num*num*num
#give the number to calculate the cube
cube(3)
# print the cube of that number simply by using print command
print(cube(3))
“return” keyword means that function have to return value