How To Do Cube Function In Python