python更新列表(数组)
aList = [123, 'abc', 4.56, ['inner', 'list'], (7-9j)] print aList[2] aList[2] = 'float replacer' print aList aList.append("hi, i'm new here") print aList
python更新列表(数组)
aList = [123, 'abc', 4.56, ['inner', 'list'], (7-9j)] print aList[2] aList[2] = 'float replacer' print aList aList.append("hi, i'm new here") print aList