python cube of a number code example Example: cube a number python >>> 3*3*3 27 >>> >>> 3**3 # This is the same as the above 27 >>>