Why the Python would crash if I append something on my_items

后端 未结 0 1658
一向
一向 2020-12-29 13:18

##Python##

items = [\'Pixel\', \'iPhone\', \'Macbook\', \'Galaxy\', \'Stadia\']
for item in items[:3]:
    print(item)

copied_items = items[:]    
copied_ite         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题