Preprocess Text Function Python Practice Geeks