Python String Mid Function Google