Post

Sergei Kotov
Sergei Kotov@kotov_dev·
@Python_Dv Answer: B) different The 97% beginners trap: 'is' vs '=='! › a and b are two separate objects › is checks identity (same object) › == checks equality (same values) For beginners: › == for values › is for identity
English
0
0
0
1.3K
Sirius A
Sirius A@aaronpsamuel·
@Python_Dv different, because a is not b, but a is == to b
English
0
0
0
649
Joe
Joe@Joe46791334·
@Python_Dv IDK nuch Python, but I'll go with B because they are different memory locations or objects. Equal is not same.
English
0
0
0
100
Wiz
Wiz@lvlwiz·
@Python_Dv b cuz they cant be same
English
0
0
0
154
Che Lou
Che Lou@CheLouPhysiMath·
@Python_Dv B) Different. If we had defined b=a Then we would get A) Same.
English
0
0
0
308
Juggernaut
Juggernaut@_0xJuggernaut·
@Python_Dv Definitely different Each has different identity buh speaking of their values then same..
English
0
0
0
7
Skipper the Synthwave Schipperke
@Python_Dv Really? 97%?! I consider myself a noob, but I went with B because they are both different storage arrays regardless of containing similar data types. I would expect more than 97% to not fall for that. Must be the AI generation…
English
0
0
0
61
Robert Marti
Robert Marti@rwmarti·
@Python_Dv Frankly, it will print none of the choices given. It’ll print diffrent
English
0
0
0
147
Joe
Joe@Joe46791334·
@Python_Dv 99% of coders never programmed in assembler and saw all the way under the hood.
English
0
0
0
60
Moises
Moises@moises_mr1·
@Python_Dv The output will be "different"
English
0
0
0
126
Bent Mathiesen
Bent Mathiesen@BentMathiesen·
@Python_Dv It can't be B - because "different" and "diffrent" are not "is" or "=="
English
0
0
0
2
maryam
maryam@maryamwaqawan07·
@Python_Dv Given the condition, they would hve been same if b=a i think
English
0
0
0
7
Paylaş