Hi there, The code is fine whatever you throw at it (as far as I am concerned), yet it fails on the last one. Nothing is returned if n <= 0 Any help? Thanks