Programming Riddles

Re: Programming Riddles

Great Joel . I never really worked with python so can you please explain the logic you are using . Thanks .