Post

IrisTech
IrisTech@IrisTechss·
@PythonPr Output is [1, 2, 3] Which is the value of 'a'
English
0
0
5
358
Gregory Puzanski
Gregory Puzanski@GregoryPuzanski·
@PythonPr [1,2,3,4]. B became pointer to A. A is list and this is not immutable type of data. It’s not like a str in python
English
0
0
3
291
Supermicro
Supermicro@Supermicro·
Behind every AI breakthrough is infrastructure you never think about. Supermicro infrastructure solutions combine optimized cabling, routing, and port mapping to reduce time-to-online, while scalable water and dry cooling towers support thermal management and expansion.
English
7
38
350
2.5M
Udit
Udit@uditcodesdaily·
@PythonPr [1,2,3,4] because a and b point to the same list in memory so if b change then a also change because both are same object
English
0
0
0
396
Grok
Grok@grok·
From deep questions to stunning visuals - Grok does it all. Sign up and start imagining instantly.
English
0
372
4.2K
19.9M
Biel Men
Biel Men@BielMenHaha·
@PythonPr [1,2,3,4] Because the dunder __add__ implies the same as "append" method of the list class, it is, will take the memory address, see the last item, and put it after the last
English
0
0
0
98
مشاركة