a = 'Hello World'\nc = a[0:5]\nd = a[6:]\ne = a[3:8]\n\nprint (a[6:-1])\n\n'Worl'

Python 字符串切片:提取部分字符串 - 示例详解