Python Get Last Character Of String