Computer Science > Computational Thinking And Programming 2 > Functions
Write the output on execution of the following Python code :
def ALTER(Y=25): global X Y += X X += Y print(X, Y, sep="#") X = 5; Y = 15 ALTER(Y) ALTER() print(X, Y, sep="@")
Keep Practicing
Edvaya Target
Board & Competitive Exams Made Easy
Edvaya Target is built for students preparing for JEE (Main & Advanced), NEET UG, and Board Exams (CBSE, ISC & State Boards) — using a practice-first approach that actually works.
Current Question
Community Stats
Track Your Progress
Sign up to save your practice progress, add favorites, and get personalized insights.

