How To Create A Substring In Python