Preprocess Text Function Python Example For Practice