Step 2: Create a variable which is a whole number, compute the square and cube of it >>> num = 4 >>> sqr = num * num >>> sqr 16 >>> cube = num * num * num >>> cube 64 >>> # A better way to do this >>> num ** 2 16 >>> num ** 3 64 >>>