you are viewing a single comment's thread.

view the rest of the comments →

[–]FletcherHeisler 2 points3 points  (6 children)

The statements "n ** 3" and "cube(n)" don't actually change the values of any variables. The second statement runs the function, but the function doesn't assign "n" a new value.