Preprocess Text Function Python Questions