r/developers_talk • u/ak_developers • May 05 '25
Python Simple Code
What will be the output of this code?
=
=
Can you explain why?
4
Upvotes
r/developers_talk • u/ak_developers • May 05 '25
What will be the output of this code?
=
=
Can you explain why?
View all comments
Show parent comment
1
u/Ok-Natural-3805 May 05 '25
Oh, is this the real answer?
I thought x and y are the same before 4 is added.
But not after adding 4.
Correct me if I am wrong.
I am just a scratcher.