something about cube in python