🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

निम्नलिखित का आउटपुट क्या होगा?

What will be the output of the following ?

import sys 
sys.stdout.write('Welcome\n') 
sys.stdout.write('All\n')
A)
B)
C)
D)

Explanation:
  • The first line, sys.stdout.write('Welcome\n'), will print "Welcome" followed by a newline character (\n), meaning it will move the cursor to the next line.

  • The second line, sys.stdout.write('All\n'), will print "All" followed by a newline as well.

Latest Updates