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