Python Keep Only Numbers In String Python Functions