Computer Science · Python Programming
Identify the output of the following Python code segment: def EXP(N2): global N1 N1, N2 = N1 + 5, N2 + 10 print(N1, N2, end=' ') N1 = 10 EXP(N1) print(N1)
- 110 20 15
- 215 20 10
- 315 20 15✓
- 410 20 10
Correct answer
15 20 15
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Python Programming?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Python Programming