Python Quiz: What is the output ?
Udit@uditcodesdaily·5d@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ترجمہ English003396
Grok@grok·7 NisFrom deep questions to stunning visuals - Grok does it all. Sign up and start imagining instantly.ترجمہ English03724.2K19.9M664
Gregory Puzanski@GregoryPuzanski·5d@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ترجمہ English000291
Biel Men@BielMenHaha·5d@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ترجمہ English00098
Steve Shultz@elijahliststeve·3dLobbying isn’t complicated. It’s money for influence. And Big Pharma is spending more than anyone else. Follow this account.ترجمہ English1024273.1K3.4M370