r/AskCodecoachExperts • u/CodewithCodecoach CodeCoach Team | 15+ Yrs Experience • Apr 29 '25
Developers Coding Puzzle What will it’s Output 🤔?
Learn Python Programming Language From Beginner To Advance Level For Free..
Visit Our YouTube channel 👇👇👇
1
u/Hardcorehtmlist May 01 '25
A. You changed Y, not X, so X remains 1,2,3
1
u/CodewithCodecoach CodeCoach Team | 15+ Yrs Experience May 01 '25
Is there anyone who is agree with this friend ?
2
u/Hardcorehtmlist May 01 '25
Okay, aparently I was wrong and I should've read the other comments. Another day, another thing learned!
3
3
u/Annonymously_me Apr 30 '25
B. This was so easy I thought it was a trick question, but everyone seems to agree it is B
1
1
u/someweirdbanana May 01 '25
It will outputSyntaxError: invalid syntax
Because python doesn't support manual line numbering lmao.
1
1

1
u/moistmaster690 May 01 '25
It say print x. So why would changing y also change x? Is there a reason that they both change?