The exact literal explanation of what's going on here is that n (an int) doesn't have a 'something' attribute connected to it, but that's a very small quibble.