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 👇👇👇
28
Upvotes
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?
1
u/Hardcorehtmlist May 01 '25
A. You changed Y, not X, so X remains 1,2,3
3
u/Helpful-Funny-876 Apr 30 '25
B.
3
u/True-Sun-1111 Apr 30 '25
B.
3
u/jeffrycr Apr 30 '25
B
3
u/Chaotic_Fart Apr 30 '25
B
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
u/Born-Boat4519 May 01 '25
B
1
u/atom12354 May 01 '25
Error on line 371
1
u/someweirdbanana May 01 '25
It will output
SyntaxError: invalid syntaxBecause python doesn't support manual line numbering lmao.
1
u/friartech May 01 '25
X = twitter
1
u/[deleted] May 04 '25
Syntax error on line 6. This won’t compile