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
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
3
396
Nate Esparza
Nate Esparza@Nate_Esparza·
The Ads @Engineering team has delivered an incredible New Ads Manager and Ads experience, truly crushing it on all fronts 🔥 The new ads platform is thoughtfully designed for both advertisers and users, making it effortless to create, launch, and promote high-performing ads
English
229
527
4.4K
15.2M
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
3
98
Teilen