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