[Python] python更新列表(数组) →→→→→进入此内容的聊天室

来自 , 2020-06-20, 写在 Python, 查看 152 次.
URL http://www.code666.cn/view/ad16fe8f
  1. aList = [123, 'abc', 4.56, ['inner', 'list'], (7-9j)]
  2. print aList[2]
  3. aList[2] = 'float replacer'
  4. print aList
  5. aList.append("hi, i'm new here")
  6. print aList
  7.  
  8.  

回复 "python更新列表(数组)"

这儿你可以回复上面这条便签

captcha