Reduce Python Geeksforgeeks Tutorialsduniya Question