Python 小知识学习

1. m = [0, 1, 2];print m[0]和print n[0:1]结果是不一样的,前者输出0,后者输出[0]

你可能感兴趣的:(Python 小知识学习)