Occurrence of Character in a Substring in String Python Program