Computer Science > Computational Thinking And Programming 2 > Functions
What will be the output of the following code segment?
a = 5 def func_1(b = 10): global a a = b - 10 b += a print(a, b) func_1(a)
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.

