Single Variable Function Reduce Python Function Documentation