a_list = [12,32,43,6,4,78,19,59]

# 包括左边，不包括右边
print(a_list[0:3])
print(a_list[3:])
print(a_list[-3:])

L = list(range(100))
print(L[-10:])
print(L[10:20:3])

# turple slice
print((0,1,2,3,4)[-3])

# list slice
print('ABCDEFGHIJKLMN'[:4])
