File size: 99 Bytes
e16247a
 
 
 
1
2
3
4
a = [1,2,3,4]
#访问列表时使用[]而不是()
#错误写法:print(a(0),a(1))
print(a[0],a[1])