This should work. Note that nothing is actually returned here, but printed within the function. Are you sure you're calling the function correctly?