Convert Input Into String Python Replace List