Reduce Python Geeksforgeeks Examples