Code Farmer's Home
  •  首页
  •  Programming Q&A
  •  登录
  1. 标签
  2. Should setting A to B then chang
  • Should setting A to B then changing A affect B in python? - Stack Overflow

    a = [0,0]b = aa[0] = 1print(b) This code returns [1,0]Shouldn't it return [0,0]?Is there any
    Should setting A to B then changing A affect B in pythonStack Overflow
    admin26天前
    30
CopyRight © 2025 All Rights Reserved
Processed: 0.035, SQL: 9