How To Return A Substring Of A String In Python